Get rid of "if (bla) free(bla);"
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 9 Aug 2013 21:07:14 +0000 (18:07 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 12 Aug 2013 17:27:38 +0000 (14:27 -0300)
commit5f7286434a6d3b87d9a78fc50da85860d30a8b89
treefa03eb153f0a277f497efa54fe4a515da1cf1e87
parentbf55fed72900416bab8072b8c424f20e7f74305d
Get rid of "if (bla) free(bla);"

Patch generated with the following coccinelle semantic patch:

@r@
expression E;
@@

- if (E)
- free(E);
+ free(E);
src/lib/lightmediascanner.c
src/lib/lightmediascanner_charset_conv.c
src/plugins/asf/asf.c
src/plugins/id3/id3.c
src/plugins/jpeg/jpeg.c
src/plugins/m3u/m3u.c
src/plugins/mp4/mp4.c
src/plugins/ogg/ogg.c
src/plugins/pls/pls.c
src/plugins/png/png.c
src/plugins/rm/rm.c