[haiku-commits] Re: r37954 - haiku/trunk/src/apps/readonlybootprompt

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 7 Aug 2010 19:46:58 +0200

2010/8/7  <pulkomandy@xxxxxxxxxxxxxxxxx>:
> Author: pulkomandy
> Date: 2010-08-07 19:21:59 +0200 (Sat, 07 Aug 2010)
> New Revision: 37954
> Changeset: http://dev.haiku-os.org/changeset/37954
>
> Modified:
>   haiku/trunk/src/apps/readonlybootprompt/BootPrompt.cpp
> Log:
> CID 1716: BAboutWindow needs to be deleted after use.
>
>
> Modified: haiku/trunk/src/apps/readonlybootprompt/BootPrompt.cpp
> ===================================================================
> --- haiku/trunk/src/apps/readonlybootprompt/BootPrompt.cpp      2010-08-07 
> 16:57:23 UTC (rev 37953)
> +++ haiku/trunk/src/apps/readonlybootprompt/BootPrompt.cpp      2010-08-07 
> 17:21:59 UTC (rev 37954)
> @@ -69,6 +69,7 @@
>                kAuthors);
>
>        aboutWindow->Show();
> +       delete aboutWindow;
>  }
>

Are you sure ? BWindows will delete themselves on Quit().

Other related posts: