[evolution-data-server/meego-eds] Use g_strdup instead of strdup



commit 4533b104ea9f157f0d454addbf4e83291f1ad1a8
Author: Christophe Dumez <christophe dumez intel com>
Date:   Wed Jun 22 16:14:37 2011 +0300

    Use g_strdup instead of strdup

 addressbook/libebook/e-contact.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook/e-contact.c b/addressbook/libebook/e-contact.c
index a6d6675..b88a6c6 100644
--- a/addressbook/libebook/e-contact.c
+++ b/addressbook/libebook/e-contact.c
@@ -577,7 +577,7 @@ fileas_getter (EContact *contact, EVCardAttribute *attr)
 			const gchar *org = e_contact_get_const (contact, E_CONTACT_ORG);
 
 			if (org && *org) {
-				new_file_as = strdup(org);
+				new_file_as = g_strdup(org);
 			}
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]