diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-18 02:16:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-18 02:16:46 +0200 |
commit | 4da6d3a987f5e803755f3004e51ca7131b94a61e (patch) | |
tree | a403f305f70e4b4dd2675387a36e843419508ecd | |
parent | m whitespace (diff) | |
download | mds-4da6d3a987f5e803755f3004e51ca7131b94a61e.tar.gz mds-4da6d3a987f5e803755f3004e51ca7131b94a61e.tar.bz2 mds-4da6d3a987f5e803755f3004e51ca7131b94a61e.tar.xz |
fix memleak on failure
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-server/mds-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index 99184ee..5b81222 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -1103,6 +1103,7 @@ void add_intercept_condition(client_t* client, char* condition, int64_t priority if (conds == NULL) { perror(*argv); + free(condition); return; } client->interception_conditions = conds; |