Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 13:57:52 GMT
From:      soc-andrew <soc-andrew@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79475 for review
Message-ID:  <200507031357.j63DvqhD090752@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=79475

Change 79475 by soc-andrew@soc-andrew_serv on 2005/07/03 13:57:38

	Fix another memory leak in libaura

Affected files ...

.. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#3 edit

Differences ...

==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/lib/aura/buffer.c#3 (text+ko) ====

@@ -242,8 +242,10 @@
 	vasprintf(&command, fmt, args);
 	va_end(args);
 
-	if ((p = popen(command, "r")) == NULL)
+	if ((p = popen(command, "r")) == NULL) {
+		free(command);
 		return(0);
+	}
 
 	free(command);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507031357.j63DvqhD090752>