From f6240e9f687c2b101d4ae3754bd5ef9918995e9b Mon Sep 17 00:00:00 2001 From: project-repo Date: Sat, 21 Mar 2020 09:50:52 +0100 Subject: [PATCH] Fix potential double-free --- workspace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/workspace.c b/workspace.c index 7027710..8ed010e 100644 --- a/workspace.c +++ b/workspace.c @@ -51,7 +51,6 @@ workspace_focus_tile(struct cg_workspace *ws, struct cg_tile *tile) { box->x = tile->tile.x + tile->tile.width / 2; box->y = tile->tile.y + tile->tile.height / 2; message_printf_pos(ws->output, box, CG_MESSAGE_CENTER, "Current frame"); - free(box); } void