From e8fb5ba83b77d070d7caaf04cf2a89e18e539548 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 7 Jan 2004 05:35:06 +0000 Subject: [PATCH] remove the FIXMEs. plist takes ownership of the item --- libs/util/qfplist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/util/qfplist.c b/libs/util/qfplist.c index 662ef094e..bafda2af7 100644 --- a/libs/util/qfplist.c +++ b/libs/util/qfplist.c @@ -203,7 +203,7 @@ PL_D_AddObject (plitem_t *dict, plitem_t *key, plitem_t *value) if ((k = Hash_Find ((hashtab_t *)dict->data, key->data))) { PL_Free ((plitem_t *) k->value); - k->value = value; // FIXME: should this be a copy? + k->value = value; } else { k = malloc (sizeof (dictkey_t)); @@ -211,7 +211,7 @@ PL_D_AddObject (plitem_t *dict, plitem_t *key, plitem_t *value) return NULL; k->key = strdup ((char *) key->data); - k->value = value; // FIXME: see above + k->value = value; Hash_Add ((hashtab_t *)dict->data, k); }