summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fba5d2)
raw | patch | inline | side by side (parent: 0fba5d2)
author | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 20:06:47 +0000 (22:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 22 Apr 2014 20:06:47 +0000 (22:06 +0200) |
src/core/store.c | patch | blob | history |
diff --git a/src/core/store.c b/src/core/store.c
index dace58f899f78ac27d681f22927ed088a7850170..6d9c971702b4e696ca14991eb2ea4f4e4716413c 100644 (file)
--- a/src/core/store.c
+++ b/src/core/store.c
if (status >= 0) {
assert(updated_attr);
+ sdb_data_free_datum(&SDB_ATTR(updated_attr)->value);
if (sdb_data_copy(&SDB_ATTR(updated_attr)->value, value)) {
sdb_object_deref(SDB_OBJ(updated_attr));
status = -1;