diff options
author | dequis <dx@dxzone.com.ar> | 2015-09-16 03:36:48 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-10-08 01:58:59 -0300 |
commit | c2969f9feb1878cc9dbe143b7adeda56b66557e6 (patch) | |
tree | 964c89d938250425681ec53c22901f95f18587e8 /help.c | |
parent | 3cbf71d6e8232b8309e927b9f17857ac079a016f (diff) |
conf, help: Fix minor leaks in error conditions
From coverity.
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,7 @@ char *help_get(help_t **help, char *title) if (lseek(h->fd, h->offset.file_offset, SEEK_SET) == -1 || read(h->fd, s, h->length) != h->length) { + g_free(s); return NULL; } } else { |