diff options
author | Daniel Carl <danielcarl@gmx.de> | 2015-02-07 11:55:14 +0100 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2015-02-07 11:55:14 +0100 |
commit | 0b19f8879c4468807ecbee49abd93a0b1226b9f6 (patch) | |
tree | 9d69730a381d2eaa78a76ef310efffb5e7c6c980 /src/util.h | |
parent | 52c599ada83e6f47fd603d58550f3e3cb7385d42 (diff) |
Allocate new memory for history items.
This makes it easier to maintain the code and to avoid memory leaks.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ enum { UTIL_EXP_SPECIAL = 0x04, /* expand % to current URI */ }; -typedef void *(*Util_Content_Func)(char*, char*); +typedef void *(*Util_Content_Func)(const char*, const char*); char* util_get_config_dir(void); char* util_get_cache_dir(void); |