Bug 173113

Summary: mismatching allocation and deallocation
Product: [Applications] kinfocenter Reporter: Daniel Marjamäki <danielm77>
Component: generalAssignee: Helge Deller <deller>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra, begert
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Marjamäki 2008-10-18 19:59:28 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

File:
kdebase/apps/kinfocenter/base/info_fbsd.cpp

on line 75, buf is allocated
	buf = new char[len];

on line 92, buf is deallocated
	delete buf;
Comment 1 Bill Egert 2009-04-04 23:40:02 UTC
should be "delete[] buf;"
Comment 2 Dario Andres 2009-04-11 01:00:57 UTC
SVN commit 952109 by darioandres:

Proper deletion of char[]

BUG: 173113


 M  +1 -1      info_fbsd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=952109
Comment 3 Dario Andres 2009-04-11 01:05:31 UTC
SVN commit 952110 by darioandres:

Backport ot 4.2branch of:
SVN commit 952109 by darioandres:

Proper deletion of char[]

CCBUG: 173113


 M  +1 -1      info_fbsd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=952110
Comment 4 Dario Andres 2009-04-11 01:21:26 UTC
SVN commit 952112 by darioandres:

Fixing my own error.

BUG: 173113


 M  +1 -1      info_fbsd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=952112
Comment 5 Dario Andres 2009-04-11 01:23:08 UTC
SVN commit 952114 by darioandres:

Fixing my own error

CCBUG: 173113


 M  +1 -1      info_fbsd.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=952114