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 157048 - MLK in gog_line_view_render
MLK in gog_line_view_render
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other All
: Normal minor
: ---
Assigned To: Emmanuel Pacaud
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-11-01 16:48 UTC by Morten Welinder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2004-11-01 16:48:04 UTC
The condition for freeing path[i] is not the same as for allocating and
consequently we leak.

Suggestion: always store some value, NULL if nothing else.  Then always free.

File from bug 157045 triggers this.
Comment 1 Emmanuel Pacaud 2004-11-01 18:13:31 UTC
Every path[i] is a valid memory pointer, so there is no condition on freeing them.

Fixed in CVS.