--- a/pidgin/plugins/gestures/stroke.c Thu Jul 23 20:13:47 2020 -0500 +++ b/pidgin/plugins/gestures/stroke.c Fri Jul 24 04:43:46 2020 -0500 @@ -147,11 +147,11 @@ prev_bin = current_bin; } - /* move to next point, freeing current point from list */ - - free (crt_elem->data); - crt_elem = g_slist_next (crt_elem); + /* move to next point, freeing current point from list */ + g_free(crt_elem->data); + crt_elem = g_slist_next(crt_elem); } + metrics->pointList = NULL; /* add the last run of points to the sequence */ sequence[sequence_count++] = '0' + current_bin; /* printf ("DEBUG:: adding final sequence: %d\n", current_bin); */