Merge branch 'master' of git://linux-nfs.org/nfs-utils
[nfs-utils.git] / tools / rpcgen / rpc_scan.c
index c0ddc14..a6f442c 100644 (file)
@@ -468,6 +468,7 @@ docppline(char *line, int *lineno, char **fname)
        *p = 0;
        if (*file == 0) {
                *fname = NULL;
+               free(file);
        } else {
                *fname = file;
        }