Changeset 223 for trunk/src


Ignore:
Timestamp:
04/03/11 12:21:04 (13 years ago)
Author:
tim
Message:

switched talloc_steal calls to talloc_reparent for more precision and to eliminate warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reglookup-recover.c

    r206 r223  
    573573       */
    574574      vk->data = regfi_buffer_to_data(data);
    575       talloc_steal(vk, vk->data);
     575      talloc_reparent(NULL, vk, vk->data);
    576576    }
    577577  }
     
    612612          goto fail;
    613613        }
    614         talloc_steal(unalloc_keys, key);
     614        talloc_reparent(NULL, unalloc_keys, key);
    615615        j+=key->cell_size-8;
    616616      }
     
    753753          return 20;
    754754        }
    755         talloc_steal(unalloc_sks, sk);
     755        talloc_reparent(NULL, unalloc_sks, sk);
    756756        j+=sk->cell_size-8;
    757757      }
Note: See TracChangeset for help on using the changeset viewer.