Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source4/lib/registry/samba.c

    r414 r745  
    3939
    4040        location = talloc_asprintf(ctx, "%s/%s.ldb",
    41                                    lp_private_dir(lp_ctx),
     41                                   lpcfg_private_dir(lp_ctx),
    4242                                   name);
     43        W_ERROR_HAVE_NO_MEMORY(location);
    4344
    4445        error = reg_open_hive(ctx, location, auth_info, creds, event_ctx, lp_ctx, &hive);
     
    4748                error = reg_open_ldb_file(ctx, location, auth_info,
    4849                                          creds, event_ctx, lp_ctx, &hive);
     50
     51        talloc_free(discard_const_p(char, location));
    4952
    5053        if (!W_ERROR_IS_OK(error))
Note: See TracChangeset for help on using the changeset viewer.