diff options
-rw-r--r-- | 16.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -248,6 +248,7 @@ main(int argc, char ** argv) break; default: + regfree(&valvein); return -1; } } @@ -294,6 +295,7 @@ main(int argc, char ** argv) for (v = valves; v < valves + nvalves; ++v) valve_dtor(v); free(valves); + regfree(&valvein); return -1; } @@ -354,6 +356,7 @@ main(int argc, char ** argv) for (v = valves; v < valves + nvalves; ++v) valve_dtor(v); free(valves); + regfree(&valvein); return 0; } |