Skip to content

Commit

Permalink
Don't pass callback argument to map_delete function in client destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
LizzyFleckenstein03 committed Jul 12, 2021
1 parent e5e092d commit f5b86f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ static void client_start(int fd)

clientmap_deinit();

map_delete(client.map, NULL);
map_delete(client.map);
scene_delete(client.scene);

pthread_mutex_destroy(&client.mtx);
Expand Down

0 comments on commit f5b86f3

Please sign in to comment.