Changeset 594 for vendor/current/libcli/nbt
- Timestamp:
 - Jul 1, 2011, 4:02:23 PM (14 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  vendor/current/libcli/nbt/nbtname.c (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
vendor/current/libcli/nbt/nbtname.c
r414 r594 83 83 "BAD NBT NAME component"); 84 84 } 85 *component = (uint8_t*)talloc_strndup(ndr, (const char *)&ndr->data[1 + *offset], len); 85 *component = (uint8_t*)talloc_strndup( 86 ndr->current_mem_ctx, 87 (const char *)&ndr->data[1 + *offset], len); 86 88 NDR_ERR_HAVE_NO_MEMORY(*component); 87 89 *offset += len + 1; … … 127 129 } 128 130 if (num_components == 0) { 129 name = talloc_strdup(ndr , "");131 name = talloc_strdup(ndr->current_mem_ctx, ""); 130 132 NDR_ERR_HAVE_NO_MEMORY(name); 131 133 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  