diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 17:43:33 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-16 23:37:49 +0200 |
commit | afa3f9f7c99886ed898d6284c1615839a4202fab (patch) | |
tree | c7f0ff8782afe731d01e138d6389dc16b936511f | |
parent | 5682a7eeda2a050dec1f963a01b06b53e9df0a2f (diff) | |
download | lilv-afa3f9f7c99886ed898d6284c1615839a4202fab.tar.gz lilv-afa3f9f7c99886ed898d6284c1615839a4202fab.tar.bz2 lilv-afa3f9f7c99886ed898d6284c1615839a4202fab.zip |
Fix potential va_list leak
-rw-r--r-- | src/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,6 +85,7 @@ lilv_strjoin(const char* first, ...) const size_t this_len = strlen(s); char* new_result = (char*)realloc(result, len + this_len + 1); if (!new_result) { + va_end(args); free(result); return NULL; } |