Memory and file handle leak in libgeda

Bug #1576918 reported by Fukanchik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Fix Released
Low
Unassigned

Bug Description

In libgeda s_log_init is enumerating today's files in logs directory to find the next available log number.

It opens the dir using g_dir_open() but never calls g_dir_close().

Directory handle remains open, GDir *logdir memory never freed.

Revision history for this message
Fukanchik (fukanchik) wrote :
Revision history for this message
Vladimir Zhbanov (vzhbanov) wrote :

Thank you, Sergey!
Fixed in commit c3f1862.

Changed in geda:
status: New → Fix Committed
milestone: none → 1.9.3
importance: Undecided → Low
Revision history for this message
Roland Lutz (rlutz) wrote :

released in gEDA/gaf 1.10.0

Changed in geda:
status: Fix Committed → Fix Released
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.