diff options
author | Yorhel <git@yorhel.nl> | 2009-04-26 15:23:09 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-04-26 15:23:09 +0200 |
commit | ae14721c5feda38cbac046be39b2d7730dadd4ce (patch) | |
tree | 612128b0e3b1f93c47efe0dfae4ea43df8abaa81 | |
parent | eb3310060f542d682316b53f662c74a154f01b26 (diff) |
Fixed segfault after aborting calculation
I really, really, wasn't think when writing commit
91b131a0805a6932fa48255473b1edaa3bf031a1
-rw-r--r-- | src/calc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,9 +403,9 @@ void calc_process() { } /* something went wrong... */ - free(path); if(!path[1] && strcmp(name, ".")) free(name); + free(path); freedir(root); calc_fail: while(failed && !input_handle(0)) |