--- a/pidgin/pidgindebug.c Wed Jun 13 17:52:43 2018 -0400
+++ b/pidgin/pidgindebug.c Wed Jun 13 17:53:20 2018 -0400
@@ -209,6 +209,9 @@
GtkTextIter match_start, match_end;
gchar *text;
+ if (!win->regex)
+ return;
+
initial_position = gtk_text_iter_get_offset(start);
if (!win->invert) {