I see this in a commit to memory.c

"Besides "ptr=NULL; free(ptr);" does nothing so no need to check for
NULL in xfree()"

This is not true, free(NULL); is undefined and can crash!
I think we have to put the if (ptr != NULL) back in xfree in memory.c.
Or change everywhere that might pass NULL.

Jay

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to