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_vcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/input/input_vcd.c') diff --git a/src/input/input_vcd.c b/src/input/input_vcd.c index 5f336e6a1..f0947e802 100644 --- a/src/input/input_vcd.c +++ b/src/input/input_vcd.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_vcd.c,v 1.43 2002/06/12 12:22:34 f1rmb Exp $ + * $Id: input_vcd.c,v 1.44 2002/06/17 21:17:32 f1rmb Exp $ * */ @@ -145,7 +145,7 @@ typedef struct { static void device_change_cb(void *data, cfg_entry_t *cfg) { vcd_input_plugin_t *this = (vcd_input_plugin_t *) data; - this->device = strdup(cfg->str_value); + this->device = cfg->str_value; } #if defined (__linux__) || defined(__sun) -- cgit v1.2.3