X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fpatches%2F01-fix-hostent-memory-leak.diff;fp=debian%2Fpatches%2F01-fix-hostent-memory-leak.diff;h=8bbd42da0ef2e61dc35e50462dca250c2f2ce2bb;hb=afe14d07626c84b3242ad2c67874993d1a768076;hp=0000000000000000000000000000000000000000;hpb=3f0395ca63d99e6bc39c1bc8109b716d8d824681;p=nfs-utils.git diff --git a/debian/patches/01-fix-hostent-memory-leak.diff b/debian/patches/01-fix-hostent-memory-leak.diff new file mode 100644 index 0000000..8bbd42d --- /dev/null +++ b/debian/patches/01-fix-hostent-memory-leak.diff @@ -0,0 +1,12 @@ +Index: nfs-utils-1.1.0/support/export/client.c +=================================================================== +--- nfs-utils-1.1.0.orig/support/export/client.c ++++ nfs-utils-1.1.0/support/export/client.c +@@ -262,6 +262,7 @@ client_compose(struct in_addr addr) + name = add_name(name, clp->m_hostname); + } + } ++ free(he); + return name; + } +