diff options
author | epoch <epoch@hacking.allowed.org> | 2019-04-20 06:57:03 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2019-04-20 06:57:03 -0500 |
commit | cf90e381246b2543f123848e56fce58186b052d5 (patch) | |
tree | eae788445eea105c5d26b7fdda5bd54e78334e8f /uricut.c | |
parent | 6a78fa292800adba07094bd5e06b0bb8a4fb8305 (diff) | |
download | uritools-cf90e381246b2543f123848e56fce58186b052d5.tar.gz uritools-cf90e381246b2543f123848e56fce58186b052d5.zip |
added a free before a return. thx npa.
Diffstat (limited to 'uricut.c')
-rw-r--r-- | uricut.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } } |