Oh yeah! I will close it and submit a new one.


On Thu, May 23, 2013 at 10:57 AM, Kristian Amlie
<notifications@github.com>wrote:

> In cf-agent/tokyo_check.c:
>
> > @@ -353,10 +351,6 @@ static int DBMetaPopulateRecordMap(DBMeta * dbmeta)
> >                  else
> >                  {
> >                      StringMapInsert(dbmeta->record_map, key, "0");
>
> Does StringMapInsert take ownership of both key and value? Then you need
> to xstrdup("0") here.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cfengine/core/pull/683/files#r4356496>
> .
>