Soft'N'Design Software
/
projects
/
display.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaffce2
)
fix memory leak
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 14 Sep 2024 10:10:50 +0000
(12:10 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 14 Sep 2024 10:10:50 +0000
(12:10 +0200)
image.c
patch
|
blob
|
blame
|
history
diff --git
a/image.c
b/image.c
index 49cb9fb36e3687aee153bd33d78343d79f46309f..99b6a24953e15391afc9ac7ee78b2d6c4fa7b6f4 100644
(file)
--- a/
image.c
+++ b/
image.c
@@
-21,6
+21,7
@@
void freeimage (image_t *image)
free (image->green);
free (image->blue);
}
+ free (image);
}
int contain (char *str, char c)