diff options
-rw-r--r-- | src/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c index 51a5479..3579323 100644 --- a/src/cache.c +++ b/src/cache.c @@ -529,7 +529,7 @@ finish: if (remove_entry) db_remove(key, klen); - if (sound_path) + if (sound_path && ret < 0) ca_free(*sound_path); ca_free(key); |