diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/digest/files/digest.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/digest/files/digest.c b/pkgtools/digest/files/digest.c index 13c96180487..6c209dd96cc 100644 --- a/pkgtools/digest/files/digest.c +++ b/pkgtools/digest/files/digest.c @@ -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 @@ digest_file(char *fn, alg_t *alg) } } + free(digest); + return (rc); } |