summaryrefslogtreecommitdiff
path: root/src/fcobjs.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-02 02:06:15 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-02 02:18:02 -0600
commit93fb1d4bab5fefb73393141bb3e96c9dc279e615 (patch)
tree44c0e819561efa8f26cdb6ce5c358e071d718273 /src/fcobjs.c
parent6b143781073cf395fd6211c75bbdc9f5b5a54936 (diff)
downloadfontconfig-93fb1d4bab5fefb73393141bb3e96c9dc279e615.tar.gz
Remove FcSharedStr*
Diffstat (limited to 'src/fcobjs.c')
-rw-r--r--src/fcobjs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcobjs.c b/src/fcobjs.c
index 9336068..4a1b0a8 100644
--- a/src/fcobjs.c
+++ b/src/fcobjs.c
@@ -53,7 +53,7 @@ retry:
if (!ot)
return NULL;
- ot->object.object = strdup (str);
+ ot->object.object = FcStrdup (str);
ot->object.type = -1;
ot->id = fc_atomic_int_add (next_id, +1);
ot->next = ots;