summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/smbmnt.c2
-rw-r--r--source3/client/smbumount.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index 6625b308c5..99ec9bc14c 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -6,6 +6,8 @@
*
*/
+#define SMBMOUNT_MALLOC 1
+
#include "includes.h"
#include <mntent.h>
diff --git a/source3/client/smbumount.c b/source3/client/smbumount.c
index 29a7b5dafc..7ad7ed22af 100644
--- a/source3/client/smbumount.c
+++ b/source3/client/smbumount.c
@@ -5,6 +5,8 @@
*
*/
+#define SMBMOUNT_MALLOC 1
+
#include "includes.h"
#include <mntent.h>