From 2a9c8bdb6976fa2b348def85de5f767c9c73a675 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Mon, 17 Jun 2002 21:17:32 +0000 Subject: Few memory leaks. CVS patchset: 2090 CVS date: 2002/06/17 21:17:32 --- src/input/input_dvd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/input/input_dvd.c') diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index 5362e972d..1a74273f4 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.50 2002/06/12 12:22:34 f1rmb Exp $ + * $Id: input_dvd.c,v 1.51 2002/06/17 21:17:32 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -128,13 +128,13 @@ typedef struct { static void device_change_cb(void *data, cfg_entry_t *cfg) { dvd_input_plugin_t *this = (dvd_input_plugin_t *) data; - this->device = strdup(cfg->str_value); + this->device = cfg->str_value; } static void rawdevice_change_cb(void *data, cfg_entry_t *cfg) { dvd_input_plugin_t *this = (dvd_input_plugin_t *) data; - this->raw_device = strdup(cfg->str_value); + this->raw_device = cfg->str_value; } static int openDrive (dvd_input_plugin_t *this) { -- cgit v1.2.3