Problem: Crash when job and channel are in the same dict while using
partials. (Luc Hermitte)
Solution: Do not decrement the channel reference count too early.
clear_tv(&rettv);
channel_need_redraw = TRUE;
}
- --channel->ch_refcount;
/* the callback is only called once */
vim_free(channel->ch_close_cb);
partial_unref(channel->ch_close_partial);
channel->ch_close_partial = NULL;
+ --channel->ch_refcount;
+
if (channel_need_redraw)
{
channel_need_redraw = FALSE;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1853,
/**/
1852,
/**/