diff --git a/src/change.c b/src/change.c index eadcfd0e24..451aa99a02 100644 --- a/src/change.c +++ b/src/change.c @@ -557,7 +557,10 @@ invoke_sync_listeners( dict = dict_alloc(); if (dict == NULL) + { + list_unref(recorded_changes); return; + } dict_add_number(dict, "lnum", (varnumber_T)start); dict_add_number(dict, "end", (varnumber_T)end); diff --git a/src/version.c b/src/version.c index 4443e6eac9..046a7e473b 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 65, /**/ 64, /**/