From 466d96c1676da80cb4d27231f597f584ab844dd6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 6 Dec 2017 10:13:39 +0530 Subject: [PATCH] Remove spurious call to Py_DECREF --- kitty/shaders.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kitty/shaders.c b/kitty/shaders.c index 2e0ff60f6..021cda501 100644 --- a/kitty/shaders.c +++ b/kitty/shaders.c @@ -94,7 +94,6 @@ send_sprite_to_gpu(unsigned int x, unsigned int y, unsigned int z, uint8_t *buf) glPixelStorei(GL_UNPACK_ALIGNMENT, 1); x *= global_state.cell_width; y *= global_state.cell_height; glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, x, y, z, global_state.cell_width, global_state.cell_height, 1, GL_RED, GL_UNSIGNED_BYTE, buf); - Py_DECREF(buf); } void