Hi,

Following patch set remove explicit NULL check before free(*ptr), because in 
free If ptr is NULL, no operation is performed.
So no need of NULL check before free.

patches created with below coccinelle patch:-

@@
expression E;
@@
- if (E)
-       free(E);
+ free(E);

Thanks 
Maninder Singh
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to