projects
/
rigol
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba4ad3
)
don't continue when malloc bails out
author
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Jun 2010 10:31:41 +0000
(12:31 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Sun, 6 Jun 2010 10:31:41 +0000
(12:31 +0200)
png.c
patch
|
blob
|
blame
|
history
diff --git
a/png.c
b/png.c
index a85e7d701c99e92c4e0ca2c0017d956b8d5f30ae..ac09767fb8597d11b910a22db48b3a5dcf804319 100644
(file)
--- a/
png.c
+++ b/
png.c
@@
-155,6
+155,7
@@
unsigned char *lcd2png(unsigned char *lcd, int *len)
if (image == NULL) {
perror("malloc");
+ return NULL;
}
outpos = image;
Impressum
,
Datenschutz