[hackers] [sbase] Free allocated memory || sin

From: <git_AT_suckless.org>
Date: Fri, 11 Oct 2013 18:03:25 +0200

commit 6492c59072c2b666c5d98a353920c3311807a8f5
Author: sin <sin_AT_2f30.org>
Date: Fri Oct 11 16:59:19 2013 +0100

    Free allocated memory
    
    No harm but silences analyzers and we are already
    free-ing buffers everywhere else.

diff --git a/tee.c b/tee.c
index 181bad7..b051fb4 100644
--- a/tee.c
+++ b/tee.c
_AT_@ -46,6 +46,7 @@ main(int argc, char *argv[])
         }
         if(ferror(stdin))
                 eprintf("<stdin>: read error:");
+ free(fps);
 
         return EXIT_SUCCESS;
 }
Received on Fri Oct 11 2013 - 18:03:25 CEST

This archive was generated by hypermail 2.3.0 : Fri Oct 11 2013 - 18:12:18 CEST