sK1

possible memory leak / missing free

Bug #444592 reported by Pavol Rusnak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sK1
New
Undecided
Unassigned

Bug Description

We've received the following report from a reporter:
-----
For source code file sK1-0.9.1pre/src/extentions/skmod/curveobject.c
around line 1450, function curve_parse_string_append is the following code

   old_locale = strdup(setlocale(LC_NUMERIC, NULL));

but for the success return, I fail to notice a matching call to free.
There is a call to free for the fail return. This looks like
a memory leak to me. Suggest add call to free on the success return.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.