s3: I thought I had compiled this....
authorVolker Lendecke <vl@samba.org>
Sun, 3 Oct 2010 11:21:21 +0000 (13:21 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 3 Oct 2010 11:22:03 +0000 (13:22 +0200)
source3/smbd/dmapi.c

index e213d73e0aa11897f511eac033fd62ee91f5814c..7a0a2fc1f589c921fd2c355072796164fff75bc0 100644 (file)
@@ -188,7 +188,7 @@ const void *dmapi_get_current_session(void)
 bool dmapi_have_session(void)
 {
        if (!dmapi_ctx) {
-               dmapi_ctx = talloc(struct smbd_dmapi_context);
+               dmapi_ctx = talloc(NULL, struct smbd_dmapi_context);
                if (!dmapi_ctx) {
                        exit_server("unable to allocate smbd_dmapi_context");
                }