From: Ray Strode Date: Tue, 24 Feb 2009 18:37:02 +0000 (-0500) Subject: Fix leak in ply-boot-server X-Git-Tag: 0.7.0~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9e20bb7babc67b9e0fdbee03ce074bdb102e47b;p=thirdparty%2Fplymouth.git Fix leak in ply-boot-server This commit fixes a memory leak in an error path of ply_boot_connection_read_request. --- diff --git a/src/ply-boot-server.c b/src/ply-boot-server.c index 77115e50..f755ea07 100644 --- a/src/ply-boot-server.c +++ b/src/ply-boot-server.c @@ -204,6 +204,7 @@ ply_boot_connection_read_request (ply_boot_connection_t *connection, if (!ply_read (connection->fd, *argument, argument_size)) { + free (*argument); free (*command); return false; }