all repos — openbox @ 86a8d8031b089e8514b9b1656dc2c5f48fcb9a67

openbox fork - make it a bit more like ryudo

use gnew0 to make life easy
Dana Jansens danakj@orodu.net
commit

86a8d8031b089e8514b9b1656dc2c5f48fcb9a67

parent

5d7d6038ca46f6d92fcfa1d46f4ebe76ebc9b2e2

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M openbox/dispatch.copenbox/dispatch.c

@@ -22,10 +22,7 @@ while (j > 1) {

j >>= 1; ++i; } - funcs = g_new(GSList*, i); - - for (i = 0, j = 1; j < EVENT_RANGE; ++i, j <<= 1) - funcs[i] = NULL; + funcs = g_new0(GSList*, i); } void dispatch_shutdown()