Skip to content

Commit

Permalink
fix memory leak when bar is not sticky (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKratz committed Mar 10, 2023
1 parent 52183c8 commit 8bfad71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ void window_send_to_space(struct window* window, uint64_t dsid) {
if (CGPointEqualToPoint(window->origin, g_nirvana)) {
SLSMoveWindow(g_connection, window->id, &g_nirvana);
}
CFRelease(window_list);
}

void window_close(struct window* window) {
Expand Down

0 comments on commit 8bfad71

Please sign in to comment.