Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/ntvfs/nbench/vfs_nbench.c

    r414 r740  
    124124        }
    125125
    126         asprintf(&logname, "/tmp/nbenchlog%d.%u", ntvfs->depth, getpid());
     126        logname = talloc_asprintf(req, "/tmp/nbenchlog%d.%u", ntvfs->depth,
     127                                  getpid());
     128        NT_STATUS_HAVE_NO_MEMORY(logname);
    127129        nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644);
    128         free(logname);
     130        talloc_free(logname);
    129131
    130132        if (nprivates->log_fd == -1) {
Note: See TracChangeset for help on using the changeset viewer.