FreeRDP/FreeRDP — pull request #396 by celsius (2012-02-03 14:39:42+00:00)
Title: remove redundant or useless (?) checks for NULL pointer

Remove redundant if(NULL) checks in Txt client/X11/xfreerdp.c (already checked inside of cache_free(), rail_free() and xfree() )

Besides "ptr=NULL; free(ptr);" does nothing (the standard C free() function is supposed to do nothing on NULL, not to crash) so there should be no need to check for NULL in xfree(), in libfreerdp-utils/memory.c.

Am I misunderstanding something ? or ignoring some platform-specific issue ?