aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.cpp')
-rw-r--r--src/search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.cpp b/src/search.cpp
index c37c407..5232785 100644
--- a/src/search.cpp
+++ b/src/search.cpp
@@ -394,7 +394,7 @@ StateSearch::do_search(GRegex *re, gint from, gint to, gint &count)
matched_to = matched[i].to;
}
- delete matched;
+ delete[] matched;
}
g_match_info_free(info);