summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm.c b/rpm.c
index 32653128f..f436b34b9 100755
--- a/rpm.c
+++ b/rpm.c
@@ -163,7 +163,7 @@ void build(char * arg, int buildAmount) {
fprintf(stderr, "Build failed.\n");
}
}
- freeSpec(*specfile);
+ freeSpec(s);
fclose(f);
}