diff options
author | portix <portix@gmx.net> | 2010-12-18 12:28:57 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2010-12-18 12:28:57 +0100 |
commit | ee5240eccbd7c7e4707ec344a9d7607ca20ab72b (patch) | |
tree | 051ddcf8cb53c816ce846fb48cf910133fcce663 /src/util.c | |
parent | f40e60657d16ae5335f665e133c443d755779878 (diff) | |
download | dwb-ee5240eccbd7c7e4707ec344a9d7607ca20ab72b.zip |
fixed some memory leaks
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -318,7 +318,7 @@ dwb_util_get_data_dir(const char *dir) { } FREE(path); } - return path; + return NULL; }/*}}}*/ /* NAVIGATION {{{*/ @@ -341,7 +341,7 @@ dwb_navigation_new_from_line(const char *text) { if (text) { line = g_strsplit(text, " ", 2); nv = dwb_navigation_new(line[0], line[1]); - FREE(line); + g_strfreev(line); } return nv; }/*}}}*/ |