aboutsummaryrefslogtreecommitdiffstats
path: root/net/bind9-dlz/files/dlz_postgres_driver.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'net/bind9-dlz/files/dlz_postgres_driver.c.diff')
-rw-r--r--net/bind9-dlz/files/dlz_postgres_driver.c.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/bind9-dlz/files/dlz_postgres_driver.c.diff b/net/bind9-dlz/files/dlz_postgres_driver.c.diff
new file mode 100644
index 000000000000..d7813efbe260
--- /dev/null
+++ b/net/bind9-dlz/files/dlz_postgres_driver.c.diff
@@ -0,0 +1,21 @@
+--- bin/named/dlz_postgres_driver.c.orig Mon Jun 10 05:59:08 2002
++++ bin/named/dlz_postgres_driver.c Mon Jun 10 05:59:45 2002
+@@ -510,15 +510,15 @@
+
+ // free dbi->zone string
+ if(dbi->zone != NULL)
+- isc_mem_free(ns_g_mctx, (char *) dbi->zone);
++ isc_mem_free(ns_g_mctx, dbi->zone);
+
+ // free dbi->record string
+ if(dbi->record != NULL)
+- isc_mem_free(ns_g_mctx, (char *) dbi->record);
++ isc_mem_free(ns_g_mctx, dbi->record);
+
+ // free dbi->client string
+ if(dbi->client != NULL)
+- isc_mem_free(ns_g_mctx, (char *) dbi->client);
++ isc_mem_free(ns_g_mctx, dbi->client);
+
+ #ifdef ISC_PLATFORM_USETHREADS
+