Source

gd-libgd / src / gd_io_dp.c

Diff from to

File src/gd_io_dp.c

 	}
 
 	if(!allocDynamic(dp, initialSize, data)) {
+		gdFree(dp);
 		return NULL;
 	}