[haiku-commits] Re: r34060 - haiku/trunk/src/preferences/locale

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 15 Nov 2009 19:41:41 +0100

Hi Jonas,

much appreciated improvements! Spotted one problem below:

> Modified: haiku/trunk/src/preferences/locale/LocaleWindow.cpp 
> ===================================================================
> --- haiku/trunk/src/preferences/locale/LocaleWindow.cpp    2009-11-15 
> 13:09:37 UTC (rev 34059)
> +++ haiku/trunk/src/preferences/locale/LocaleWindow.cpp    2009-11-15 
> 15:07:55 UTC (rev 34060)
> @@ -107,6 +107,7 @@
>                          fDropIndex = -1;
>                      }
>                  }
> +                Invoke(new BMessage(kMsgPrefLanguagesChanged));
>              } else BListView::MessageReceived(message);
>          }
>      private:

I am almost sure this will leak the message passed to Invoke().

Best regards,
-Stephan

Other related posts: