Ticket #12834: 0019-PairsView.cpp-Fix-mismatching-allocation-and-dealloc.patch

File 0019-PairsView.cpp-Fix-mismatching-allocation-and-dealloc.patch, 788 bytes (added by mt, 3 years ago)
  • src/apps/pairs/PairsView.cpp

    From 59267b54f4ed911548ec7e807788a8fc4727aa31 Mon Sep 17 00:00:00 2001
    From: Murai Takashi <tmurai01@gmail.com>
    Date: Mon, 27 Jun 2016 05:32:29 +0900
    Subject: [PATCH 19/22] PairsView.cpp: Fix mismatching allocation and
     deallocation
    
    ---
     src/apps/pairs/PairsView.cpp | 6 +++---
     1 file changed, 3 insertions(+), 3 deletions(-)
    
    diff --git a/src/apps/pairs/PairsView.cpp b/src/apps/pairs/PairsView.cpp
    index 4753470..e68b8df 100644
    a b PairsView::~PairsView()  
    8080    delete fMediumBitmapsList;
    8181    delete fLargeBitmapsList;
    8282    delete fPairsButtonList;
    83     delete fRandomPosition;
    84     delete fPositionX;
    85     delete fPositionY;
     83    delete[] fRandomPosition;
     84    delete[] fPositionX;
     85    delete[] fPositionY;
    8686}
    8787
    8888