DecoderPlugin: free the container_scan() return value with delete[]

This commit is contained in:
Max Kellermann
2014-02-24 19:38:30 +01:00
parent 6ba1fe7568
commit 25431f32a2
3 changed files with 5 additions and 7 deletions

View File

@@ -34,8 +34,6 @@
#include <sys/stat.h>
#include <glib.h>
Directory *
UpdateWalk::MakeDirectoryIfModified(Directory &parent, const char *name,
const FileInfo &info)
@@ -120,7 +118,7 @@ UpdateWalk::UpdateContainerFile(Directory &directory,
FormatDefault(update_domain, "added %s/%s",
directory.GetPath(), vtrack);
g_free(vtrack);
delete[] vtrack;
}
if (tnum == 1) {