After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539672 - percentrank leak
percentrank leak
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Analytics
git master
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-06-23 02:18 UTC by sum1
Modified: 2008-06-23 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2008-06-23 02:18:02 UTC
Version: r16650
OS: Ubuntu Hardy

Steps to reproduce:
- In A1, enter "=percentrank(VW-12,61,137)" (no quotes)
- Exit Gnumeric


Console output:

Leaking 1 values.
Leaking string [#NAME?] with ref_count=1.
Comment 1 Morten Welinder 2008-06-23 03:41:52 UTC
Fixing is easy, but I need to check if we do the right thing when called
on a range that contains a string and later an error.
Comment 2 Morten Welinder 2008-06-23 14:27:18 UTC
2008-06-23  Morten Welinder  <terra@gnome.org>

	* functions.c (gnumeric_percentrank): Handle errors correctly.
	Don't leak.  Compute the right thing.  Fixes #539672.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.