search for: rl_top

Displaying 1 result from an estimated 1 matches for "rl_top".

2008 Jul 10
1
memory leak in readline code
...e blocks (those to which a pointer was found) are not shown. ==11246== To see them, rerun with: --show-reachable=yes My change is: Index: sys-std.c =================================================================== --- sys-std.c (revision 46046) +++ sys-std.c (working copy) @@ -550,6 +550,7 @@ rl_top->readline_buf[0] = '\n'; rl_top->readline_buf[1] = '\0'; } + free(line) ; rl_top->readline_gotaline = 1; } Here is the info on the session and the shared libraries currently loaded (readline 4.3 in particular): > sessionInfo() R version 2.8.0 Under deve...