coolkey/coolkey-wrong-delete.patch

14 lines
342 B
Diff

https://bugzilla.novell.com/show_bug.cgi?id=443369
================================================================================
--- src/coolkey/object.cpp
+++ src/coolkey/object.cpp
@@ -398,7 +398,7 @@
{
// clean up old one
if (label) {
- delete label;
+ delete [] label;
label = NULL;
}
// find matching attribute