diff --git a/attributes/maestro-schema.c b/attributes/maestro-schema.c
index 049ee9dacabadb7ce9c808ae3aca037852bb5b73..1511d11d91ba3f64d4d5ac4b18a1aa7ae1285c2b 100644
--- a/attributes/maestro-schema.c
+++ b/attributes/maestro-schema.c
@@ -2647,13 +2647,8 @@ mstro_attribute_dict_set_kventry(mstro_attribute_dict dict,
                                       MSTRO_CDO_ATTR_VALUE_double, &tmp, true);
     }
     case MSTRO__POOL__AVAL__VAL_STRING: {
-      char *tmp = strdup(aval->string);
-      if(tmp==NULL) {
-        ERR("Failed to duplicate string value\n");
-        return MSTRO_NOMEM;
-      }
       return mstro_attribute_dict_set(dict, key,
-                                      MSTRO_CDO_ATTR_VALUE_cstring, tmp, false);
+                                      MSTRO_CDO_ATTR_VALUE_cstring, aval->string, true);
     }
     case  MSTRO__POOL__AVAL__VAL_BYTES: {
       /* FIXME: blobs still have issues in their handling. For now we