Ticket #9866: 0002-Fix-memory-leak-for-LocalePreflet.cpp.patch

File 0002-Fix-memory-leak-for-LocalePreflet.cpp.patch, 793 bytes (added by mt, 7 years ago)

Patch

  • src/preferences/locale/LocalePreflet.cpp

    From 86e818bd2a76be009701e0539872924d5a0218f8 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Sat, 13 Jul 2013 16:44:42 +0900
    Subject: [PATCH] Fix memory leak for LocalePreflet.cpp
    
    ---
     src/preferences/locale/LocalePreflet.cpp |    2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/preferences/locale/LocalePreflet.cpp b/src/preferences/locale/LocalePreflet.cpp
    index 594e94d..d444027 100644
    a b LocalePreflet::MessageReceived(BMessage* message)  
    7474
    7575        case B_ABOUT_REQUESTED:
    7676        {
    77             BAboutWindow* window = new BAboutWindow(kAppName, kSignature);
     77            BAboutWindow* window;
    7878
    7979            const char* authors[] = {
    8080                "Axel Dörfler",