Menu

#5 problems with tucs_close() ?

open
None
5
2001-03-01
2001-02-21
Udo Heuser
No

here I send to you what I got from ra_info.pl of dmalloc

echo -----------------------------------------------\n
-----------------------------------------------
echo Address = '0x806f170' line 5 num 1\n
Address = '0x806f170' line 5 num 1
x 0x806f170
0x806f170 <tucs_addGenericSetting+708>: 0x834c4689
info line *(0x806f170)
Line 420 of "tucs.c" starts at address 0x806f152 <tucs_addGenericSetting+678>
and ends at 0x806f173 <tucs_addGenericSetting+711>.

Discussion

  • Adam Rotaru-Varga

    • assigned_to: nobody --> adam_rotaru
     
  • Mikhail Bessonov

    Logged In: YES
    user_id=82947

    Just a bit more verbosity: it looks like there is a memory
    leak in the
    line 420 of the tucs.c, the function name is
    tucs_addGenericSetting().
    The offending line is
    set->prefixsearch = malloc(...);
    It looks like set->prefixsearch is not free()ed in the
    tucs_close(), as it probably should be.

     

Log in to post a comment.

MongoDB Logo MongoDB