diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-08-08 23:54:21 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-08-08 23:54:21 +0200 |
commit | 64825d3c589cd8742887f30acde8c57eceac2001 (patch) | |
tree | 880c0f250aff9efb4aa2c2a892ad29479a987462 /src/libudev/libudev-list.c | |
parent | c269cec334f940d82146f70d69125b1caef08baa (diff) |
fix a couple of issues found with llvm-analyze
Diffstat (limited to 'src/libudev/libudev-list.c')
-rw-r--r-- | src/libudev/libudev-list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/libudev-list.c b/src/libudev/libudev-list.c index aec334bcfc..5d09b5d2d9 100644 --- a/src/libudev/libudev-list.c +++ b/src/libudev/libudev-list.c @@ -186,6 +186,7 @@ struct udev_list_entry *udev_list_entry_add(struct udev_list *list, const char * if (list->entries == NULL) { free(entry->name); free(entry->value); + free(entry); return NULL; } list->entries_max += add; |