Fix mismatched new/delete calls.
[cumulus.git] / util.cc
diff --git a/util.cc b/util.cc
index 13ad991..a51fa3d 100644 (file)
--- a/util.cc
+++ b/util.cc
@@ -67,7 +67,7 @@ string uri_decode(const string &in)
     *output = '\0';
 
     string result(buf);
-    delete buf;
+    delete[] buf;
     return result;
 }