swig/Examples/xml
Olly Betts 7ec2f89fe2
Remove redundant NULL checks before free()/delete (#2184)
Remove redundant NULL checks before free()/delete

The ISO C and C++ standards guarantee that it's safe to call these
on a NULL pointer, so it's not necessary for the calling code to
also check.

Fixes https://sourceforge.net/p/swig/feature-requests/70/
2022-01-29 22:03:48 +13:00
..
Makefile.in More remove SWIG_LIB variable 2015-08-21 22:48:34 +01:00
error.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
error.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example.h Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_apply.expected-xml Remove redundant NULL checks before free()/delete (#2184) 2022-01-29 22:03:48 +13:00
example_apply.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_const.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_const.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_gif.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_inl.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_inl.h Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_inl.i 64 bit portability fixes 2007-10-29 22:28:55 +00:00
example_p5.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_p5.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_ro.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_ro.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_title_add.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
example_title_add.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_xml.expected-xml Remove redundant NULL checks before free()/delete (#2184) 2022-01-29 22:03:48 +13:00
example_xml.h Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
example_xml.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00
gnarly.expected-xml Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:19:04 +00:00
gnarly.i Initial revision, contributed by Klaus Wiederaenders. 2001-01-17 02:04:48 +00:00