[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSData initWithBytesNoCopy
From: |
Lyndon Tremblay |
Subject: |
NSData initWithBytesNoCopy |
Date: |
Mon, 25 Sep 2000 08:32:33 -0700 |
I'm using -[initWithBytesNoCopy:length:] as a temporary compare object,
and it seems
that NSDataMalloc is being used for this... although NSDataStatic's
default [init] and
[dealloc] methods seem more sensible for this. This results in a
crash (of course) trying
to free the data, which it actually copies..
--Humasect
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSData initWithBytesNoCopy,
Lyndon Tremblay <=