diff options
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 1cd061369f..c3d4f826d4 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -75,7 +75,7 @@ static void free_samr_info(void *ptr) if (info->disp_info.user_dbloaded){ for (i=0; i<info->disp_info.num_account; i++) - SAFE_FREE(info->disp_info.disp_user_info[i].sam); + pdb_free_sam(&info->disp_info.disp_user_info[i].sam); SAFE_FREE(info->disp_info.disp_user_info); } |