Wireshark-bugs: [Wireshark-bugs] [Bug 7773] Explicitly assign pointers released by g_free() to N

Date: Sun, 30 Sep 2012 11:44:53 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7773

--- Comment #4 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-09-30 11:44:53 PDT ---
(In reply to comment #2)
> Well, in some areas of the code, file u3.c for example, this is done
> explicitly, but in the files I submitted it isn't (might be splitting hairs
> here), but shouldn't it be consistent throughout the code?

Ok, few greps:
$ grep -Ir '\<g_free\>' ./ | wc -l
3083
$ grep -Ir '\<g_string_free\>' ./ | wc -l
347
$ grep -Ir '\<fclose\>' ./ | wc -l
196

You *really* want to fix all of these?
(and it's only part of functions, which free resources)...

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.