diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-20 14:18:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-20 14:18:54 +0200 |
commit | 907093ff80f9935179f7e1cec8f66dd3ae329e89 (patch) | |
tree | 513089cdf1b5dce704e7e3533136c25b6c3f5c32 /vconsole.c | |
parent | a0508cbf6d021b1c7549714b9c2907146317de66 (diff) | |
download | vconsole-907093ff80f9935179f7e1cec8f66dd3ae329e89.tar.gz |
plug more memory holes
Diffstat (limited to 'vconsole.c')
-rw-r--r-- | vconsole.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -39,6 +39,7 @@ void config_write(void) write(fd, data, len); fsync(fd); close(fd); + g_free(data); } /* ------------------------------------------------------------------ */ @@ -629,7 +630,7 @@ static void vconsole_build_recent(struct vconsole_window *win) g_free(h); g_free(action); } - g_free(keys); + g_strfreev(keys); /* finish */ xml = g_strdup_printf(recent_xml, entries ? entries : ""); |