* Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_internal); RESOURCE_LEAK
@ 2008-12-02 22:15 Dan Nicolaescu
2008-12-03 4:32 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: Dan Nicolaescu @ 2008-12-02 22:15 UTC (permalink / raw)
To: emacs-devel
CID: 107
Checker: RESOURCE_LEAK (help)
File: base/src/emacs/src/xselect.c
Function: Fx_get_cut_buffer_internal
Description: Returned without freeing storage "data"
Event alloc_arg: Called allocation function "x_get_window_property" on "data" [model]
Also see events: [leaked_storage]
2393 x_get_window_property (display, window, buffer_atom, &data, &bytes,
2394 &type, &format, &size, 0);
At conditional (1): "data == 0" taking false path
At conditional (2): "format == 0" taking true path
2395 if (!data || !format)
Event leaked_storage: Returned without freeing storage "data"
Also see events: [alloc_arg]
2396 return Qnil;
2397
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_internal); RESOURCE_LEAK
2008-12-02 22:15 Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_internal); RESOURCE_LEAK Dan Nicolaescu
@ 2008-12-03 4:32 ` Chong Yidong
0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2008-12-03 4:32 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
Dan Nicolaescu <dann@ics.uci.edu> writes:
> CID: 107
> Checker: RESOURCE_LEAK (help)
> File: base/src/emacs/src/xselect.c
> Function: Fx_get_cut_buffer_internal
> Description: Returned without freeing storage "data"
Fixed, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-03 4:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-02 22:15 Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_internal); RESOURCE_LEAK Dan Nicolaescu
2008-12-03 4:32 ` Chong Yidong
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.