File sablot-1.0.3-delete.diff of Package sablot

--- src/engine/base.cpp
+++ src/engine/base.cpp
@@ -398,7 +398,7 @@
   result = isValidNCName(start) && (local == NULL || isValidNCName(local));
 
   //if (colon) *colon = ':';
-  if (copy) delete start;
+  if (copy) delete[] start;
   return result;
 }
 
openSUSE Build Service is sponsored by