diff options
author | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-18 15:13:52 -0400 |
commit | 7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c (patch) | |
tree | dd5b03025c8984da6b52f5d1653ac140bf81c7e1 /src/util.c | |
parent | 7a68f1e59abd84574d8b8ccf6289b6c01bf428c6 (diff) | |
download | lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.gz lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.tar.bz2 lilv-7ce645cfe6fffef55eb43e1e2b63e4ac41c8581c.zip |
Fix memory, file, and library leaks
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -299,6 +299,7 @@ lilv_copy_file(const char* src, const char* dst) FILE* out = fopen(dst, "w"); if (!out) { + fclose(in); return errno; } |