File: no_double_free.patch

package info (click to toggle)
boa-constructor 0.6.1-16
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 21,620 kB
  • sloc: python: 63,696; makefile: 20; sh: 1
file content (21 lines) | stat: -rw-r--r-- 884 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description:	Do not attempt to free menu objects twice
Origin:		Debian
Bug-Debian:	http://bugs.debian.org/532988
Forwarded:	https://sourceforge.net/tracker/?func=detail&aid=2825234&group_id=1909&atid=101909

Index: boa-constructor-0.6.1/Editor.py
===================================================================
--- boa-constructor-0.6.1.orig/Editor.py	2009-07-30 22:44:08.000000000 +0200
+++ boa-constructor-0.6.1/Editor.py	2009-07-30 22:36:18.000000000 +0200
@@ -1467,11 +1467,6 @@
                     wx.LogError(str(error))
                     return
 
-            # disconnect and destroy menus that would have been cleaned up by
-            # closeModulePage
-            for idx, name, modPage in modPageList:
-                modPage.destroy()
-
             # stop accepting files over socket
             if self.closed:
                 self.closed.set()