[PATCH:libSM 6/8] Remove a bunch of unnecessary casts with malloc & free calls

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


> From: Alan Coopersmith <alan.coopersmith at oracle.com>
> Date: Mon,  5 Dec 2011 20:06:19 -0800
> 
> With modern compilers and headers, they cause more problems than they
> solve and just hide real issues.
> 
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

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

> ---
>  src/SMlibint.h   |   10 +++++-----
>  src/sm_client.c  |   21 +++++++++------------
>  src/sm_manager.c |    4 ++--
>  src/sm_misc.c    |    8 ++++----
>  src/sm_process.c |   10 +++++-----
>  5 files changed, 25 insertions(+), 28 deletions(-)


More information about the xorg-devel mailing list