summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_nss.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/nsswitch/winbindd_nss.h')
-rw-r--r--source/nsswitch/winbindd_nss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_nss.h b/source/nsswitch/winbindd_nss.h
index 06ebd68f8f8..88e3254d24a 100644
--- a/source/nsswitch/winbindd_nss.h
+++ b/source/nsswitch/winbindd_nss.h
@@ -11,7 +11,7 @@
*/
#ifndef SAFE_FREE
-#define SAFE_FREE(x) do { if(x) {free(CONST_DISCARD(void *, (x))); x=NULL;} } while(0)
+#define SAFE_FREE(x) do { if(x) {free(x); x=NULL;} } while(0)
#endif
#ifndef _WINBINDD_NTDOM_H