Plugin Development. Plugin crashes

Munawwar munawwarfiroz at
Sat Oct 1 15:13:34 EDT 2011

Been developing a Pidgin plugin (on and off for weeks). The plugin is to
show a popup window displaying the emails which the user has received.
Internally when a set of emails are recieved, I am allocating heap space and
appending the info into a list (glib singly-linked list).

The problem:
When an email is recieved, it shows the window as expected. However, when
the next mail is received, I intend the window to close, deallocate memory,
then repeat the procedure as it was done for the first mail (allocate memory
and show window). but it crashes at line number 130.
Source code:
Crash report and debug messages:
OS: Windows 7
Pidgin version: 2.10.0
MinGW, GCC compiler: 4.4.0

Seems very odd, since line number 130 isn't trying to dereference nor free

Any theories?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list