Re: gEDA-user: dir = g_dir_open() should be freed by g_dir_close(dir)

2011-07-26 Thread Peter TB Brett
k...@aspodata.se (Karl Hammar) writes: [snip] Thanks Karl. I've committed both your patches. In future, please help me get your patches integrated more quickly efficiently by following the instructions in the gEDA `HACKING' file. If for some reason you cannot use Launchpad to submit

gEDA-user: dir = g_dir_open() should be freed by g_dir_close(dir)

2011-07-25 Thread Karl Hammar
In g_rc.c g_rc_component_library_search() g_rc_source_library_search() calls g_dir_open(), but they never free the result with g_dir_close(), giving us a memory leak. It seems to been this way since the first commit. Regards, /Karl Hammar