On Mon, 04 Jun 2007 20:09:56 +0300, Harri Koskinen geany_fi@fastmonkey.org wrote:
Enrico Tröger wrote:
On Mon, 4 Jun 2007 10:39:14 -0600, Michal Kurgan michal.kurgan@moloh.net wrote:
Hi,
I have little comment here, but first i will say that i didn't looked at sources when writing this.
Geany uses glib and gtk+ that have some extended memory allocation routines. I think that instead of such malloc override it would be better to use these provided routines:
Of course. A grep for malloc in src/ shows that we only use g_malloc. Only in tagmanager there are a few malloc calls. I'm going to remove them.
Harri: the linker error you got came from tagmanager code or from Geany code? (if unsure just post the error message)
Hi,
The error came from the tagmanager code. And the fix you submitted to SVN (r1596) worked great.
Ok, so it is double fixed ;-) because all malloc calls used in tagmanager were replaced by g_malloc.
Regards, Enrico