Skip to content

Instantly share code, notes, and snippets.

@chrisbra
Created June 22, 2016 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisbra/263188afcd1308e7bcff2e8bbbeb2016 to your computer and use it in GitHub Desktop.
Save chrisbra/263188afcd1308e7bcff2e8bbbeb2016 to your computer and use it in GitHub Desktop.
perl_crash
diff -r 405c0bba9d1d src/window.c
--- a/src/window.c Wed Jun 15 22:15:07 2016 +0200
+++ b/src/window.c Wed Jun 22 20:09:33 2016 +0200
@@ -4549,7 +4549,8 @@
#endif
#ifdef FEAT_PERL
- perl_win_free(wp);
+ if (wp->w_perl_private)
+ perl_win_free(wp);
#endif
#ifdef FEAT_PYTHON
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment