[Bug 541670] New: postgresql-8.4.1-1.1: possible memory leak
http://bugzilla.novell.com/show_bug.cgi?id=541670 Summary: postgresql-8.4.1-1.1: possible memory leak Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package postgresql-8.4.1-1.1 For source code file postgresql-8.4.1/src/bin/pg_dump/pg_backup_archiver.c around line 3080, function restore_toc_entries_parallel is the following code slots = (ParallelSlot *) calloc(sizeof(ParallelSlot), n_slots); but I fail to notice a matching call to free. This looks like a memory leak to me. Suggest add call to free. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541670 zhu rensheng <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rszhu@novell.com AssignedTo|bnc-team-screening@forge.pr |pmladek@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541670 zhu rensheng <rszhu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pmladek@novell.com |max@novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541670 User max@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=541670#c1 Reinhard Max <max@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low CC| |max@novell.com AssignedTo|max@novell.com |peter_e@gmx.net Severity|Normal |Minor --- Comment #1 from Reinhard Max <max@novell.com> 2009-09-29 01:38:29 MDT --- This is non-critical, because the leak is by a fixed size per invocation of these one-shot tools and does not depend on the amount of data that is being processed. Therefore I'll leave it to upstream if and when they'll fix it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541670 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=541670#c2 --- Comment #2 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:55:45 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=541670 http://bugzilla.novell.com/show_bug.cgi?id=541670#c3 Peter Eisentraut <peter_e@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #3 from Peter Eisentraut <peter_e@gmx.net> 2010-03-08 07:26:59 UTC --- Not a bug; not freeing memory in short-running programs is valid. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com