changeset 1550:a9d7b36cc6af

Use g_strdup().
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 01 Sep 2007 06:02:34 +0300
parents a9f544dafa91
children 96f83b3872ea
files src/sid/xs_config.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_config.c	Sat Sep 01 06:02:20 2007 +0300
+++ b/src/sid/xs_config.c	Sat Sep 01 06:02:34 2007 +0300
@@ -299,7 +299,7 @@
 	if (!XS_CFG_GET_STRING(cfg, XS_CONFIG_IDENT, tmpKey, &tmpStr))
 		return FALSE;
 	
-	pResult->name = strdup(tmpStr);
+	pResult->name = g_strdup(tmpStr);
 	if (pResult->name == NULL) {
 		g_free(pResult);
 		return FALSE;