[Libpst-devel] [patch] crash freeing memory in lspst

Chris Halls chris.halls at credativ.co.uk
Wed Nov 29 00:43:51 CET 2006


I'm getting crashes in lspst while trying to free f->name. The memory has not 
been dynamically allocated; it is statically assigned here:

f->name = "mbox";

The attached patch removes the free statements.

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lspst-invalid-free.diff
Type: text/x-diff
Size: 449 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/libpst-devel/attachments/20061128/c63731e1/lspst-invalid-free.bin


More information about the Libpst-devel mailing list