GNOME Bugzilla – Bug 777075
Potential leak of memory pointed to by 'list'
Last modified: 2017-11-17 15:11:02 UTC
Hi GLib developers, Bug reported by the clang static analyzer https://pbs.twimg.com/media/C1y7wlKUUAIDck-.jpg Description: Potential leak of memory pointed to by 'list' File: /data/project/gnome/glib/gio/glocalfileinfo.c Line: 639
Created attachment 363931 [details] [review] glocalfileinfo: Fix a leak on an error handling path Spotted by Clang static analysis, thanks to Leslie Zhai. Signed-off-by: Philip Withnall <withnall@endlessm.com>
Review of attachment 363931 [details] [review]: Ugh man reading this code...the indentation looks busted here, mix of tabs and spaces. Anyways this looks right to me.
Attachment 363931 [details] pushed as 9ab0073 - glocalfileinfo: Fix a leak on an error handling path