Valgrind-caught memory leak.

This commit is contained in:
rocky
2005-01-23 04:53:31 +00:00
parent c9852fb89d
commit 09c1a1d180

View File

@@ -1,5 +1,5 @@
/*
$Id: _cdio_sunos.c,v 1.13 2005/01/21 20:54:55 rocky Exp $
$Id: _cdio_sunos.c,v 1.14 2005/01/23 04:53:31 rocky Exp $
Copyright (C) 2001 Herbert Valerio Riedel <hvr@gnu.org>
Copyright (C) 2002, 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
@@ -38,7 +38,7 @@
#ifdef HAVE_SOLARIS_CDROM
static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.13 2005/01/21 20:54:55 rocky Exp $";
static const char _rcsid[] = "$Id: _cdio_sunos.c,v 1.14 2005/01/23 04:53:31 rocky Exp $";
#ifdef HAVE_GLOB_H
#include <glob.h>
@@ -920,6 +920,7 @@ cdio_open_am_solaris (const char *psz_orig_source, const char *access_mode)
#if 0
cdio_info ("source %s is not a device", psz_orig_source);
#endif
free(_data);
return NULL;
}
}