pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_install/files pkg_install-20090309:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a20d97d6a924
branches:  trunk
changeset: 555810:a20d97d6a924
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 09 19:58:45 2009 +0000

description:
pkg_install-20090309:
Fix a double free. Reported by seb.

diffstat:

 pkgtools/pkg_install/files/info/perform.c |  5 ++---
 pkgtools/pkg_install/files/lib/version.h  |  4 ++--
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r bbcb0bc7d550 -r a20d97d6a924 pkgtools/pkg_install/files/info/perform.c
--- a/pkgtools/pkg_install/files/info/perform.c Mon Mar 09 19:43:49 2009 +0000
+++ b/pkgtools/pkg_install/files/info/perform.c Mon Mar 09 19:58:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: perform.c,v 1.54 2009/03/08 14:50:36 joerg Exp $       */
+/*     $NetBSD: perform.c,v 1.55 2009/03/09 19:58:45 joerg Exp $       */
 
 #if HAVE_CONFIG_H
 #include "config.h"
@@ -13,7 +13,7 @@
 #if HAVE_SYS_WAIT_H
 #include <sys/wait.h>
 #endif
-__RCSID("$NetBSD: perform.c,v 1.54 2009/03/08 14:50:36 joerg Exp $");
+__RCSID("$NetBSD: perform.c,v 1.55 2009/03/09 19:58:45 joerg Exp $");
 
 /*-
  * Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -233,7 +233,6 @@
                meta = NULL;
        }
 
-       archive_read_finish(archive);
        meta->is_installed = 0;
 
        return meta;
diff -r bbcb0bc7d550 -r a20d97d6a924 pkgtools/pkg_install/files/lib/version.h
--- a/pkgtools/pkg_install/files/lib/version.h  Mon Mar 09 19:43:49 2009 +0000
+++ b/pkgtools/pkg_install/files/lib/version.h  Mon Mar 09 19:58:45 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: version.h,v 1.118 2009/03/08 14:50:37 joerg Exp $      */
+/*     $NetBSD: version.h,v 1.119 2009/03/09 19:58:45 joerg Exp $      */
 
 /*
  * Copyright (c) 2001 Thomas Klausner.  All rights reserved.
@@ -27,6 +27,6 @@
 #ifndef _INST_LIB_VERSION_H_
 #define _INST_LIB_VERSION_H_
 
-#define PKGTOOLS_VERSION "20090307"
+#define PKGTOOLS_VERSION "20090309"
 
 #endif /* _INST_LIB_VERSION_H_ */



Home | Main Index | Thread Index | Old Index