summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_xattr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eina/eina_xattr.c b/src/lib/eina/eina_xattr.c
index a8521da58f..d5e6970840 100644
--- a/src/lib/eina/eina_xattr.c
+++ b/src/lib/eina/eina_xattr.c
@@ -323,8 +323,9 @@ eina_xattr_value_ls(const char *file)
323 it->length = listxattr(file, it->xattr, length); 323 it->length = listxattr(file, it->xattr, length);
324 if (it->length != length) 324 if (it->length != length)
325 { 325 {
326 free(it->attr);
326 free(it); 327 free(it);
327 return NULL; 328 return NULL;
328 } 329 }
329 330
330 it->file = eina_stringshare_add(file); 331 it->file = eina_stringshare_add(file);