emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_int


From: Dan Nicolaescu
Subject: Problem report #107: base/src/emacs/src/xselect.c (Fx_get_cut_buffer_internal); RESOURCE_LEAK
Date: Tue, 2 Dec 2008 14:15:44 -0800 (PST)

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    




reply via email to

[Prev in Thread] Current Thread [Next in Thread]