summaryrefslogtreecommitdiffstats
path: root/src/blueshift_vidmode.pyx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/blueshift_vidmode.pyx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blueshift_vidmode.pyx b/src/blueshift_vidmode.pyx
index ac7c6c1..fdb5cb4 100644
--- a/src/blueshift_vidmode.pyx
+++ b/src/blueshift_vidmode.pyx
@@ -54,9 +54,8 @@ def vidmode_read(int use_crtc):
s = got[i]
i += 1
for j in range(s):
- c.append(s[i + j])
+ c.append(got[i + j])
i += s
- free(got)
return (r, g, b)