title: NSDate memory leak
body: <p>I have searched SO among other fora for the answer to this, but whatever I try, it does not seem to get rid of my memory leak. Does anybody have any suggestions?</p>
  
  <p>I get a memory leak of 16 bytes per NSDate in my ViewController every time I present it.</p>
  
  <pre><code>-(void)initialise:(id)sender withDate:(NSDate *)date withMinimumDate:(NSDate *)minimum {
      delegate = sender;
      self.originalDate = [[NSDate alloc] init];
      self.originalDate = date;
  
      self.minimumDate = [[NSDate alloc] init];
      self.minimumDate = minimum;
  }
  
  - (void)dealloc {
      [self.originalDate release];
      [self.minimumDate release];
  
      [super dealloc];
  }
  </code></pre>
  
  <p>I have tried releasing and/or making the NSDates nil before allocating them for the first time, and setting them to nil in the dealloc method.</p>
  
  <p>They are declared as nonatomic and retained properties in the Header.</p>
  
  <p>Have I missed something basic here or is there a more complex answer?</p>