summaryrefslogtreecommitdiff
path: root/lib/db2.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-12-12 20:03:45 +0000
committerjbj <devnull@localhost>2000-12-12 20:03:45 +0000
commitdb32ab6bea1b635129820d6b628e6156c61b5385 (patch)
tree055f7ee7d5e06ba0b3e858b82f639310b892503d /lib/db2.c
parent2e9d2616969433851a1c883c900d6ea5acde67b7 (diff)
downloadrpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.gz
rpm-db32ab6bea1b635129820d6b628e6156c61b5385.tar.bz2
rpm-db32ab6bea1b635129820d6b628e6156c61b5385.zip
Sync with rpm-4_0 branch.
CVS patchset: 4338 CVS date: 2000/12/12 20:03:45
Diffstat (limited to 'lib/db2.c')
-rw-r--r--lib/db2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/db2.c b/lib/db2.c
index 8359dd257..f397d2d9f 100644
--- a/lib/db2.c
+++ b/lib/db2.c
@@ -1,18 +1,18 @@
-#include "system.h"
-
/** \ingroup db2
* \file lib/db2.c
*/
static int _debug = 1; /* XXX if < 0 debugging, > 0 unusual error returns */
+#include "system.h"
#include <db2/db.h>
-
#include <rpmlib.h>
#include <rpmmacro.h>
#include <rpmurl.h> /* XXX urlPath proto */
#include "rpmdb.h"
+#include "debug.h"
+
/*@access dbiIndex@*/
/*@access dbiIndexSet@*/
@@ -578,7 +578,7 @@ static int db2close(dbiIndex dbi, unsigned int flags)
dbi->dbi_db = NULL;
if (urlfn)
- xfree(urlfn);
+ free((void *)urlfn);
db2Free(dbi);
@@ -756,7 +756,7 @@ static int db2open(rpmdb rpmdb, int rpmtag, dbiIndex * dbip)
}
if (urlfn)
- xfree(urlfn);
+ free((void *)urlfn);
return rc;
}