Package: pinfo
Version: 0.6.9-2
Followup-For: Bug #362183

% diff -Naurp filehandling_functions.c.orig filehandling_functions.c
--- filehandling_functions.c.orig       2006-08-16 22:08:45.863652750 +0200
+++ filehandling_functions.c    2006-08-16 22:09:00.820587500 +0200
@@ -200,7 +200,7 @@ dirpage_lookup(char **type, char ***mess
        }
 
        /* if we haven't found anything, clean up and exit */
-       if (!goodHit)
+       if (!goodHit && id)
        {
                fclose(id);
                id = 0;

Michael Gebetsroither

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to