qulogic/libgnt
Clone
Summary
Browse
Changes
Graph
gnt: Fix use-after-free memory violation during Python initialization
2018-05-25, kdex
53d9e9edc8ac
gnt: Fix use-after-free memory violation during Python initialization
Turns out there never was a reason to allocate a wide-character string on the heap to begin with; C has wide-character string literals.
foreach
prog
:
[
'combo'
,
'focus'
,
'tv'
,
'multiwin'
,
'keys'
,
'menu'
,
'parse'
]
executable
(
prog
,
prog
+
'.c'
,
c_args
:
'-DSTANDALONE'
,
dependencies
:
[
libgnt_dep
,
gobject
,
gmodule
],
build_by_default
:
false
)
endforeach
shared_library
(
'wm'
,
'wm.c'
,
name_prefix
:
''
,
dependencies
:
[
libgnt_dep
,
gobject
,
gmodule
],
build_by_default
:
false
)