id summary reporter owner description type status priority milestone component version severity resolution keywords cc 42 Memory leaks dmorissette dmorissette "{{{ From: Assefa Yewondwossen To: Daniel Morissette J'ai roule mapserver 3.5 (avec la getgeatureinfo) et voici les memory leaks reportes : 1) msInsertHashTable+0x8d [maphash.c:42 ip=0x0044432c] (maphash.c, ligne 42) struct hashObj *msInsertHashTable(hashTableObj table, char *string, char *data) { struct hashObj *tp; unsigned hashval; if(!table || !string || !data) return(NULL); for(tp=table[hash(string)]; tp!=NULL; tp=tp->next) if(strcasecmp(string, tp->key) == 0) break; if(tp == NULL) { /* not found */ tp = (struct hashObj *) malloc(sizeof(*tp)); <========= ligne a problem ... 2) lea autres erreurs sont des memory leaks ou on a oublie de freer de la memoire en sortant de la fonction. - msSHPOpen+0xc1 [mapshape.c:184 ip=0x004508a1] - msSHPDiskTreeOpen+0xf8 [maptree.c:102 ip=0x0045960f] - msSHPDiskTreeOpen+0x4d [maptree.c:88 ip=0x00459564] - msSHPDiskTreeOpen+0x32 [maptree.c:82 ip=0x00459549] - main+0x91 [mapserv.c:1403 ip=0x0040c04e] - initWeb+0xd5 [mapfile.c:2633 ip=0x00416890] - initWeb+0xc2 [mapfile.c:2632 ip=0x0041687d] }}}" defect closed highest MapServer C Library 4.0 normal fixed