Commit d205507a authored by Vivien Kraus's avatar Vivien Kraus
Browse files

I had the wrong type

It does not matter because =tarot_game_free= calls =free= anyway, but
the type was not correct.
parent 938c97f8
/* tarot implements the rules of the tarot game
* Copyright (C) 2018, 2019 Vivien Kraus
* Copyright (C) 2018, 2019, 2020 Vivien Kraus
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -60,7 +60,7 @@ unit_test (const char *xml)
fprintf (stderr, "%s:%d: %s, size %lu\n", __FILE__, __LINE__, rebuilt, strlen (rebuilt));
abort ();
}
tarot_game_free (rebuilt);
free (rebuilt);
tarot_game_free (game);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment