[Spice-devel] [PATCH] spicy: add --title=<title> command line option

Uri Lublin uril at redhat.com
Wed Sep 5 03:07:18 PDT 2012


On 09/05/2012 12:42 PM, Dunrong Huang wrote:
> 2012/9/5 Uri Lublin<uril at redhat.com>:
>> @@ -1907,5 +1919,9 @@ int main(int argc, char *argv[])
>>       g_free(conf);
>>       g_key_file_free(keyfile);
>>
>> +    if (spicy_title) {
>> +        g_free(spicy_title);
>> +    }
> g_free() dont need to check for NULL pointer

Thanks, pushed without checking for NULL pointer.


More information about the Spice-devel mailing list