Signed-off-by: Tiago Vignatti <[email protected]>
---
 os/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/os/utils.c b/os/utils.c
index f47177f..74fe841 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -1315,6 +1315,7 @@ Popen(char *command, char *type)
     /* Ignore the smart scheduler while this is going on */
     old_alarm = OsSignal(SIGALRM, SIG_IGN);
     if (old_alarm == SIG_ERR) {
+      free(cur);
       perror("signal");
       return NULL;
     }
-- 
1.7.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to