[libdmapsharing] Fix memory leak in DMAPStructure Signed-off-by: W. Michael Petullo <mike flyn org>
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fix memory leak in DMAPStructure Signed-off-by: W. Michael Petullo <mike flyn org>
- Date: Fri, 4 Feb 2011 03:51:47 +0000 (UTC)
commit e0ebbf561438c9dd72f748edcece425814a4d2f2
Author: W. Michael Petullo <mike flyn org>
Date: Thu Feb 3 21:51:05 2011 -0600
Fix memory leak in DMAPStructure
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-structure.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libdmapsharing/dmap-structure.c b/libdmapsharing/dmap-structure.c
index 2ea1670..538eca0 100644
--- a/libdmapsharing/dmap-structure.c
+++ b/libdmapsharing/dmap-structure.c
@@ -467,7 +467,7 @@ dmap_structure_parse_container_buffer (GNode *parent,
gchar *s = dmap_buffer_read_string ((const gchar*)&(buf[l]), codesize);
item->size = strlen (s);
- g_value_set_string (&(item->content), s);
+ g_value_take_string (&(item->content), s);
break;
}
case DMAP_TYPE_POINTER: {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]