You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
484 B
14 lines
484 B
diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c
|
|
index 3f66634..ca4f944 100644
|
|
--- a/converter/other/bmptopnm.c
|
|
+++ b/converter/other/bmptopnm.c
|
|
@@ -1494,7 +1494,7 @@ readBmp(FILE * const ifP,
|
|
unsigned int * const cmapSizeP,
|
|
bool const verbose) {
|
|
|
|
- xel * colormap; /* malloc'ed */
|
|
+ xel * colormap = NULL; /* malloc'ed */
|
|
unsigned int pos;
|
|
/* Current byte position in the BMP file */
|
|
|