[Kde-hardware-devel] Review Request 114678: Delete data correctly

Commit Hook null at kde.org
Sat Dec 28 16:42:01 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/114678/#review46298
-----------------------------------------------------------


This review has been submitted with commit d97c3d168cadfaf32b431b2b7e654c9d06693c83 by Albert Astals Cid to branch master.

- Commit Hook


On Dec. 26, 2013, 11:30 p.m., Albert Astals Cid wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/114678/
> -----------------------------------------------------------
> 
> (Updated Dec. 26, 2013, 11:30 p.m.)
> 
> 
> Review request for Solid, Àlex Fiestas and Dan Vrátil.
> 
> 
> Repository: libkscreen
> 
> 
> Description
> -------
> 
> ==5515== Mismatched free() / delete / delete []
> ==5515==    at 0x4C2BADC: operator delete(void*) (vg_replace_malloc.c:480)
> ==5515==    by 0x2572172D: XRandROutput::edid() const (xrandroutput.cpp:119)
> ==5515==    by 0x25716CB7: XRandR::edid(int) const (xrandr.cpp:164)
> ==5515==    by 0x252E6E9B: KScreen::Output::edid() const (output.cpp:407)
> ==5515==    by 0x25088C93: Serializer::outputId(KScreen::Output const*) (serializer.cpp:213)
> ==5515==    by 0x25089610: Serializer::currentId() (serializer.cpp:48)
> ==5515==    by 0x25089671: Serializer::configExists() (serializer.cpp:61)
> ==5515==    by 0x25088531: KScreenDaemon::applyConfig() (daemon.cpp:93)
> ==5515==    by 0x73046D7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
> ==5515==    by 0x73046D7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
> ==5515==    by 0x25092D0D: Device::isLidClosedFetched(QDBusPendingCallWatcher*) (device.cpp:148)
> ==5515==    by 0x73046D7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
> ==5515==  Address 0x3399d2c0 is 0 bytes inside a block of size 128 alloc'd
> ==5515==    at 0x4C2AFE7: operator new[](unsigned long) (vg_replace_malloc.c:363)
> ==5515==    by 0x25716ECE: XRandR::getXProperty(_XDisplay*, unsigned long, unsigned long, unsigned long&) (xrandr.cpp:194)
> ==5515==    by 0x25716F48: XRandR::outputEdid(int, unsigned long&) (xrandr.cpp:211)
> ==5515==    by 0x257216EC: XRandROutput::edid() const (xrandroutput.cpp:116)
> ==5515==    by 0x25716CB7: XRandR::edid(int) const (xrandr.cpp:164)
> ==5515==    by 0x252E6E9B: KScreen::Output::edid() const (output.cpp:407)
> ==5515==    by 0x25088C93: Serializer::outputId(KScreen::Output const*) (serializer.cpp:213)
> ==5515==    by 0x25089610: Serializer::currentId() (serializer.cpp:48)
> ==5515==    by 0x25089671: Serializer::configExists() (serializer.cpp:61)
> ==5515==    by 0x25088531: KScreenDaemon::applyConfig() (daemon.cpp:93)
> ==5515==    by 0x73046D7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
> ==5515==    by 0x73046D7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
> 
> 
> Diffs
> -----
> 
>   backends/xrandr/xrandr.cpp ab16301 
>   backends/xrandr/xrandroutput.cpp 384d702 
> 
> Diff: https://git.reviewboard.kde.org/r/114678/diff/
> 
> 
> Testing
> -------
> 
> Compiles
> 
> 
> Thanks,
> 
> Albert Astals Cid
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20131228/77fb0b8c/attachment-0001.html>


More information about the Kde-hardware-devel mailing list