Remove a couple more valgrind-caught memory leaks
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
$Id: cdrdao.c,v 1.17 2005/04/09 22:56:07 rocky Exp $
|
||||
$Id: cdrdao.c,v 1.18 2005/06/08 08:07:00 rocky Exp $
|
||||
|
||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||
toc reading routine adapted from cuetools
|
||||
@@ -25,7 +25,7 @@
|
||||
(*.cue).
|
||||
*/
|
||||
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.17 2005/04/09 22:56:07 rocky Exp $";
|
||||
static const char _rcsid[] = "$Id: cdrdao.c,v 1.18 2005/06/08 08:07:00 rocky Exp $";
|
||||
|
||||
#include "image.h"
|
||||
#include "cdio_assert.h"
|
||||
@@ -1316,6 +1316,7 @@ cdio_open_cdrdao (const char *psz_cue_name)
|
||||
cdio_debug ("source name %s is not recognized as a TOC file",
|
||||
psz_cue_name);
|
||||
free(p_data);
|
||||
free(ret);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user