Bugfix: Correctly free old assignments when reloading

Fixes #516
This commit is contained in:
Michael Stapelberg
2011-09-11 23:41:46 +01:00
parent f3716e45cf
commit dc790cfa32
6 changed files with 52 additions and 4 deletions

View File

@ -28,4 +28,10 @@ void match_copy(Match *dest, Match *src);
*/
bool match_matches_window(Match *match, i3Window *window);
/**
* Frees the given match. It must not be used afterwards!
*
*/
void match_free(Match *match);
#endif