Commit 3628596a authored by Dmitry Antipov's avatar Dmitry Antipov

Explicitly free restriction data that are not needed anymore.

* editfns.c (save_restriction_restore): Free restriction data.
parent 670d85ea
2012-07-26 Dmitry Antipov <dmantipov@yandex.ru>
Explicitly free restriction data that are not needed anymore.
* editfns.c (save_restriction_restore): Free restriction data.
2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
* eval.c (Fautoload_do_load): Rename from do_autoload, export to Lisp,
......
......@@ -3379,6 +3379,10 @@ save_restriction_restore (Lisp_Object data)
buf->clip_changed = 1; /* Remember that the narrowing changed. */
}
/* These aren't needed anymore, so don't wait for GC. */
free_marker (XCAR (data));
free_marker (XCDR (data));
free_cons (XCONS (data));
}
else
/* A buffer, which means that there was no old restriction. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment