emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107895: * src/xselect.c (x_conver


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107895: * src/xselect.c (x_convert_selection): Initialize a pointer.
Date: Tue, 24 Apr 2012 10:58:26 +0800
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107895
fixes bug(s): http://debbugs.gnu.org/11315
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Tue 2012-04-24 10:58:26 +0800
message:
  * src/xselect.c (x_convert_selection): Initialize a pointer.
modified:
  src/ChangeLog
  src/xselect.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-04-23 16:22:23 +0000
+++ b/src/ChangeLog     2012-04-24 02:58:26 +0000
@@ -1,3 +1,7 @@
+2012-04-24  Chong Yidong  <address@hidden>
+
+       * xselect.c (x_convert_selection): Initialize a pointer (Bug#11315).
+
 2012-04-23  Eli Zaretskii  <address@hidden>
 
        * xdisp.c (pos_visible_p): If the window start position is beyond

=== modified file 'src/xselect.c'
--- a/src/xselect.c     2012-02-25 03:01:11 +0000
+++ b/src/xselect.c     2012-04-24 02:58:26 +0000
@@ -931,6 +931,7 @@
 
   /* Otherwise, record the converted selection to binary.  */
   cs = xmalloc (sizeof (struct selection_data));
+  cs->data = NULL;
   cs->nofree = 1;
   cs->property = property;
   cs->wait_object = NULL;


reply via email to

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