http://bugzilla.novell.com/show_bug.cgi?id=505153 User pchenthill@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=505153#c10 --- Comment #10 from Chenthill palanisamy <pchenthill@novell.com> 2009-06-01 02:27:36 MDT --- (In reply to comment #9)
Hi Chenthill, I'm not sure which unreffing you mean. As you can see, groupwise_sync() is entered with folder->ref_count = 1, and it first gets decremented to zero in groupwise_store_set_current_folder(), so it clearly doesn't keep the refcount balanced.
Do you mean the caller of groupwise_store_set_current_folder() should have incremented the refcount prior to calling it? Yes set_current_folder should have incremented it once. As you can see in the function, it adds a reference count while setting the current folder.
So i suspect somewhere else in the code, the reference count is decremented when it is not needed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.