summaryrefslogtreecommitdiff
path: root/uricut.c
diff options
context:
space:
mode:
Diffstat (limited to 'uricut.c')
-rw-r--r--uricut.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/uricut.c b/uricut.c
index 3c0359c..cf143c0 100644
--- a/uricut.c
+++ b/uricut.c
@@ -110,6 +110,7 @@ int main(int argc,char *argv[]) {
line=malloc(size+1);
malloced=1;
if(!fgets(line,size,stdin)) {
+ free(line);
return 0;
}
}