e82e7c83f6
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/netpbm#e8ffa0347758e32b9e9c4c788e808f5cd727ed46
14 lines
484 B
Diff
14 lines
484 B
Diff
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 */
|
|
|