diff --git a/src/mark.c b/src/mark.c index 9bab352a8f..778110f919 100644 --- a/src/mark.c +++ b/src/mark.c @@ -783,6 +783,11 @@ show_one_mark( if (name == NULL && current) { name = mark_line(p, 15); + if (name == NULL) + { + emsg(_(e_out_of_memory)); + return; + } mustfree = TRUE; } if (!message_filtered(name)) diff --git a/src/version.c b/src/version.c index bafcef18b0..8f9033bf72 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1474, /**/ 1473, /**/