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