[PATCH:libSM 5/8] Replace malloc(strlen) + strcpy sets with strdup calls

Mark Kettenis mark.kettenis at xs4all.nl
Tue Dec 6 01:07:08 PST 2011


> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Mon,  5 Dec 2011 20:06:18 -0800
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

Reviewed-by: Mark Kettenis <kettenis at openbsd.org>

> ---
>  src/sm_client.c  |    5 +----
>  src/sm_genid.c   |    6 ++----
>  src/sm_manager.c |    7 ++-----
>  src/sm_misc.c    |   24 ++++--------------------
>  4 files changed, 9 insertions(+), 33 deletions(-)


More information about the xorg-devel mailing list