=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/compress/gzopen.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/compress/gzopen.c 2008/08/20 09:22:02 1.25 +++ src/usr.bin/compress/gzopen.c 2009/11/11 18:04:35 1.26 @@ -1,4 +1,4 @@ -/* $OpenBSD: gzopen.c,v 1.25 2008/08/20 09:22:02 mpf Exp $ */ +/* $OpenBSD: gzopen.c,v 1.26 2009/11/11 18:04:35 deraadt Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -60,7 +60,7 @@ #ifndef SMALL const char gz_rcsid[] = - "$OpenBSD: gzopen.c,v 1.25 2008/08/20 09:22:02 mpf Exp $"; + "$OpenBSD: gzopen.c,v 1.26 2009/11/11 18:04:35 deraadt Exp $"; #endif #include @@ -146,6 +146,7 @@ } s->z_stream.next_out = s->z_buf; #else + free(s); return (NULL); #endif } else {