[Xfce4-commits] r25556 - libxfcegui4/branches/xfce_4_2/libxfcegui4

Jean-François Wauthy pollux at xfce.org
Sat Apr 14 21:59:46 CEST 2007


Le samedi 14 avril 2007 à 19:50 +0000, Olivier Fourdan a écrit :
> -    session_client->client_id = client_id;
> +    session_client->client_id = g_strdup (client_id);

> -	session_client->program = program;
> +	session_client->program = g_strdup (program);

> -	session_client->current_directory = current_directory;
> +	session_client->current_directory = g_strdup (current_directory);

I don't know the code well but didn't you forget to free these new
strings ?

-- 
Jean-François Wauthy <pollux at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20070414/d9bfe32a/attachment.pgp>


More information about the Xfce4-dev mailing list