! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
missing call to fclose
Status:
RESOLVED: WONTFIX
Product:
Xarchiver
Component:
general

Comments

Description Pavol Rusnak 2009-09-11 13:38:58 CEST
We've received the following report from the reporter:

----

I just had a look at factory package xarchiver-0.5.2-1.28

For source code file xarchiver-0.5.2/src/window.c
around line 1160 is the source code for the
function xa_detect_archive_comment.

I notice the following line of code

        stream = fopen (filename,"r");

but I fail to notice a matching call to fclose.  This looks like a
resource leak to me. Suggest add a call to fclose.
Comment 1 Robby Workman editbugs 2014-11-16 09:30:35 CET
Xarchiver is no longer hosted on the xfce repos - it's now at http://xarchiver.sourceforge.net/
If this bug is still valid, please file it there.

Bug #5757

Reported by:
Pavol Rusnak
Reported on: 2009-09-11
Last modified on: 2014-11-16

People

Assignee:
Giuseppe Torelli
CC List:
1 user

Version

Attachments

Additional information