Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d5a19415
Commit
d5a19415
authored
Jun 22, 2011
by
Jim Meyering
Browse files
don't leak an XBM-image-sized buffer
* image.c (xbm_load): Free the image buffer after using it.
parent
130e3e11
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/image.c
src/image.c
+1
-0
No files found.
src/ChangeLog
View file @
d5a19415
2011-06-22 Jim Meyering <meyering@redhat.com>
don't leak an XBM-image-sized buffer
* image.c (xbm_load): Free the image buffer after using it.
2011-06-21 Paul Eggert <eggert@cs.ucla.edu>
Port to Sun C.
...
...
src/image.c
View file @
d5a19415
...
...
@@ -2829,6 +2829,7 @@ xbm_load (struct frame *f, struct image *img)
}
success_p = xbm_load_image (f, img, contents, contents + size);
xfree (contents);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment