Commit 287d7076 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Revert 2 last commits in src/alloc.c.

parent 6084a28b
2013-12-14 Eli Zaretskii <>
* alloc.c (cleanup_vector): Don't call the font driver's 'close'
method if the 'driver' pointer is NULL.
* fileio.c (Fcopy_file) [WINDOWSNT]: Move most of the
Windows-specific code to w32.c. Change error message text to
match that of Posix platforms.
......@@ -2877,12 +2877,7 @@ cleanup_vector (struct Lisp_Vector *vector)
if (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_FONT)
&& ((vector->header.size & PSEUDOVECTOR_SIZE_MASK)
struct font *fnt = (struct font *) vector;
if (fnt->driver)
fnt->driver->close (fnt);
((struct font *) vector)->driver->close ((struct font *) vector);
/* Reclaim space used by unmarked vectors. */
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