|
From: deloptes <del...@ya...> - 2010-11-07 12:11:32
|
I need information about following
1. when do you call osync_data_set_objtype( )
2. do I need to call update_change in the example below
3. when I call
osync_change_set_data ( change, data );
where do I call
osync_data_unref ( data );
I'm trying this
osync_change_set_data ( change, data );
osync_data_unref ( data );
osync_context_report_change ( context(), change );
osync_change_unref ( change );
but I get i.e.
*** glibc detected *** osplugin: double free or corruption (out):
0x00007fff62bc41a0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71ad6)[0x7f4c57a26ad6]
/lib/libc.so.6(cfree+0x6c)[0x7f4c57a2b84c]
/opt/testing/opensync/lib/libopensync1/formats/vcard.so(+0xd69
[0x7f4c43b40d69]
/opt/testing/opensync/lib/libopensync.so.1(osync_data_unref+0x64
[0x7f4c5905f914]
/opt/testing/opensync/lib/libopensync.so.1(osync_change_unref+0x35
[0x7f4c5905f025]
/opt/testing/opensync/lib/libopensync1/plugins/akonadi-sync.so(+0xbaa0
[0x7f4c4f553aa0]
/opt/testing/opensync/lib/libopensync1/plugins/akonadi-sync.so(+0xc744
[0x7f4c4f554744]
/opt/testing/opensync/lib/libopensync1/plugins/akonadi-sync.so(+0xcae6
[0x7f4c4f554ae6]
/usr/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x306
[0x7f4c4cfb02e6]
thanks in advance
regards
|