Browse code

a potential memory leak fixed (a different one from that reported by Jamin, which was apparently fixed during via parser improvements 8.9->8.10)

Jiri Kuthan authored on 18/06/2003 22:17:02
Showing 1 changed files
... ...
@@ -1762,6 +1762,7 @@ parse_again:
1762 1762
 								pkg_free(param);
1763 1763
 								goto error;
1764 1764
 							default:
1765
+								pkg_free(param);
1765 1766
 								LOG(L_ERR, "ERROR: parse_via after"
1766 1767
 										" parse_via_param: invalid"
1767 1768
 										" char <%c> on state %d\n",