[client] Fix memleak in command argument

This commit is contained in:
Frederic Crozat 2009-08-10 14:30:05 +02:00
parent da214e6b7b
commit 7d9efa5357

View file

@ -224,6 +224,8 @@ ply_boot_client_request_free (ply_boot_client_request_t *request)
if (request == NULL)
return;
free (request->command);
if (request->argument != NULL)
free (request->argument);
free (request);
}