On Wed, Jun 16, 2010 at 1:15 PM, Matt Turner <[email protected]> wrote:
> Found using
> ---
> @@
> expression E;
> identifier i;
> identifier address;
> @@
>
> - i = malloc(strlen(E) + 1);
> - strcpy(address, E);
> + i = strdup(E);
> ---
>
> Signed-off-by: Matt Turner <[email protected]>

Yes, please.

Reviewed-by: Dan Nicholson <[email protected]>

--
Dan
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to