pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/digest/files fix a memory leak.
details: https://anonhg.NetBSD.org/pkgsrc/rev/668cf969b969
branches: trunk
changeset: 491386:668cf969b969
user: yamt <yamt%pkgsrc.org@localhost>
date: Wed Mar 23 21:40:35 2005 +0000
description:
fix a memory leak.
diffstat:
pkgtools/digest/files/digest.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 9987f38014e0 -r 668cf969b969 pkgtools/digest/files/digest.c
--- a/pkgtools/digest/files/digest.c Wed Mar 23 21:28:33 2005 +0000
+++ b/pkgtools/digest/files/digest.c Wed Mar 23 21:40:35 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: digest.c,v 1.10 2005/03/23 14:32:19 agc Exp $ */
+/* $NetBSD: digest.c,v 1.11 2005/03/23 21:40:35 yamt Exp $ */
/*
* Copyright (c) 2001-2005 Alistair G. Crooks. All rights reserved.
@@ -39,7 +39,7 @@
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 2001-2005 \
The NetBSD Foundation, Inc. All rights reserved.");
-__RCSID("$NetBSD: digest.c,v 1.10 2005/03/23 14:32:19 agc Exp $");
+__RCSID("$NetBSD: digest.c,v 1.11 2005/03/23 21:40:35 yamt Exp $");
#endif
@@ -154,6 +154,8 @@
}
}
+ free(digest);
+
return (rc);
}
Home |
Main Index |
Thread Index |
Old Index