diff options
Diffstat (limited to 'src/dwm.c')
| -rw-r--r-- | src/dwm.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -335,6 +335,7 @@ static gboolean socket_callback(GSocket *socket, GIOCondition condition, gpointe //log_debug("Received dwm ipc response: %s", reply); ipc_handle(data, msg_type, reply, reply_size); + g_free(reply); return G_SOURCE_CONTINUE; } @@ -378,6 +379,7 @@ DwmIpc *dwm_create(State *state, const char *socket) g_source_attach(dwm->source, NULL); log_info("Attached dwm ipc source [socket=%s]", socket); + g_object_unref(addr); return dwm; } @@ -433,6 +435,10 @@ void dwm_destroy(DwmIpc *dwm) g_source_destroy(dwm->source); g_source_unref(dwm->source); g_object_unref(dwm->socket); + + if (dwm->hidden_title) + button_destroy(dwm->title); + g_free(dwm); } |
