asdfuser pushed a commit to branch master.

commit 11afd4b3c0b12d83275e07573f9072943635f41f
Author: Daniel Willmann <[email protected]>
Date:   Mon Mar 18 11:46:25 2013 +0000

    Free cwd so we don't leak
    
    Signed-off-by: Daniel Willmann <[email protected]>
---
 src/bin/run.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/run.c b/src/bin/run.c
index 3ef2444..522be93 100644
--- a/src/bin/run.c
+++ b/src/bin/run.c
@@ -207,5 +207,7 @@ main(int argc, char **argv)
    if (write(sock, sbuf, slen) < 0)
      printf("elementary_quicklaunch: cannot write to socket '%s'\n", buf);
    close(sock);
+
+   free(cwd);
    return 0;
 }

-- 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar

Reply via email to