GNOME Bugzilla – Bug 704094
Fix crashes and memory leaks
Last modified: 2013-08-13 09:59:55 UTC
Created attachment 249007 [details] [review] Fix a crash in case of malformed XML Fix potential crashes in cases of corrupted/malformed XML files, or bad function parameter. Add also to coding convention (Trailing spaces removed by the IDE)
Created attachment 249008 [details] [review] Fix bad paremeters
Created attachment 249009 [details] [review] Memory leaks
Created attachment 249010 [details] [review] Coding convention
Created attachment 249011 [details] [review] Coding convention
Review of attachment 249007 [details] [review]: Look good ::: libgupnp/gupnp-device-info.c @@ +753,2 @@ if (requested_mime_type) { + if (icon->mime_type) Or we consistently use g_strcmp0... Interesting catch, though. strcmp seems to be "NULL-safe" in recent glibc's.
I squashed to code style fixes into one commit and made a minor code style correction to attachment 249009 [details] [review]
Created attachment 250867 [details] [review] Variable might be used uninitialiazed Sorry, I have introduced this bug in my fixes.