summaryrefslogtreecommitdiff
path: root/network/hydra/patches/hydra-http-form.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/hydra/patches/hydra-http-form.patch')
-rw-r--r--network/hydra/patches/hydra-http-form.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/network/hydra/patches/hydra-http-form.patch b/network/hydra/patches/hydra-http-form.patch
new file mode 100644
index 0000000000..6dde09cdf1
--- /dev/null
+++ b/network/hydra/patches/hydra-http-form.patch
@@ -0,0 +1,18 @@
+--- hydra-http-form.old 2008-02-06 09:42:49.000000000 +0000
++++ hydra-http-form.c 2008-02-06 09:43:45.000000000 +0000
+@@ -149,7 +149,6 @@
+ }
+
+ if (hydra_send(s, buffer, strlen(buffer), 0) < 0) {
+- free(updvariables);
+ free(upd2variables);
+ return 1;
+ }
+@@ -183,7 +182,6 @@
+ */
+
+ free(buf);
+- free(updvariables);
+ free(upd2variables);
+
+ if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)