projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix unexisting trace error path
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
iattribute.c
diff --git
a/ltt/branches/poly/lttv/lttv/iattribute.c
b/ltt/branches/poly/lttv/lttv/iattribute.c
index 4293c828806bb29f9a37e7266775a95dea2c6e2e..a447192e9c20b4fa2d8d1dcb6ad2dac728034c1c 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/iattribute.c
+++ b/
ltt/branches/poly/lttv/lttv/iattribute.c
@@
-16,6
+16,9
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <lttv/iattribute.h>
#include <lttv/iattribute.h>
@@
-270,7
+273,8
@@
void lttv_iattribute_copy_value(LttvAttributeType t, LttvAttributeValue dest,
break;
case LTTV_GOBJECT:
break;
case LTTV_GOBJECT:
- *(dest.v_gobject) = *(src.v_gobject);
+ *(dest.v_gobject) = *(src.v_gobject);
+ if(*(dest.v_gobject) != NULL) g_object_ref(*(dest.v_gobject));
break;
case LTTV_NONE:
break;
case LTTV_NONE:
This page took
0.022492 seconds
and
4
git commands to generate.