-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: uritools
action: commit
revision:
path_from:
revision_from: cf90e381246b2543f123848e56fce58186b052d5:
path_to:
revision_to:

git.thebackupbox.net

uritools

git://git.thebackupbox.net/uritools

commit cf90e381246b2543f123848e56fce58186b052d5
Author: epoch <epoch@hacking.allowed.org>
Date:   Sat Apr 20 06:57:03 2019 -0500

    added a free before a return. thx npa.

diff --git a/uricut.c b/uricut.c

index 3c0359c49d30389d9db8b6e8f8df6816f5131646..

index ..cf143c0de443212c6540794524d5ce15914c1654 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;
    }
   }

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 19:06:47 2024