2015-08-11 08:11:35 +00:00
|
|
|
diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c
|
|
|
|
index a069092..20a0331 100644
|
|
|
|
--- a/converter/other/bmptopnm.c
|
|
|
|
+++ b/converter/other/bmptopnm.c
|
|
|
|
@@ -1328,7 +1328,7 @@ readBmp(FILE * const ifP,
|
2005-05-09 10:18:31 +00:00
|
|
|
xel ** const colormapP,
|
|
|
|
bool const verbose) {
|
|
|
|
|
|
|
|
- xel * colormap; /* malloc'ed */
|
|
|
|
+ xel * colormap = NULL; /* malloc'ed */
|
|
|
|
unsigned int pos;
|
2006-02-28 12:59:04 +00:00
|
|
|
/* Current byte position in the BMP file */
|
2005-05-09 10:18:31 +00:00
|
|
|
|