[hackers] [libixp] Forgot to add a free().

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Mar 10 07:41:42 2007

changeset: 44:663597cefdd4
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Mar 10 01:37:11 2007 -0500
summary: Forgot to add a free().

diff -r 4a5a99ed5aad -r 663597cefdd4 client.c
--- a/client.c Fri Mar 09 23:26:54 2007 -0500
+++ b/client.c Sat Mar 10 01:37:11 2007 -0500
@@ -105,6 +105,7 @@ ixp_client_walk(IXPClient *c, uint newfi
                 c->ifcall.nwname = ixp_tokenize(wname, IXP_MAX_WELEM, fp, '/'); // was "c->ifcall.name"
                 for(i = 0; i < c->ifcall.nwname; i++)
                         c->ifcall.wname[i] = wname[i];
+ free(fp);
         }
         return ixp_client_do_fcall(c);
 }
Received on Sat Mar 10 2007 - 07:41:42 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:16 UTC