OSDN Git Service

makeguids: free our input buffer.
authorPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 18:59:57 +0000 (14:59 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 1 May 2017 20:06:30 +0000 (16:06 -0400)
Covscan noticed this, but didn't notice that this is a short lived
program that just parses some tables during the build.  It *sooo*
doesn't matter.

Signed-off-by: Peter Jones <pjones@redhat.com>
src/makeguids.c

index da2f5f7..6a76c46 100644 (file)
@@ -212,6 +212,7 @@ main(int argc, char *argv[])
        close(in);
        close(guidout);
        close(nameout);
+       free(inbuf);
 
        return 0;
 }