Show More
@@ -34,6 +34,9 b' static void _fix_newline(PyObject *hunk,' | |||
|
34 | 34 | sz -= 1; |
|
35 | 35 | |
|
36 | 36 | hline = PyBytes_FromStringAndSize(l, sz-1); |
|
37 | if (!hline) { | |
|
38 | return NULL; | |
|
39 | } | |
|
37 | 40 | |
|
38 | 41 | if (c == ' ' || c == '+') { |
|
39 | 42 | PyObject *rline = PyBytes_FromStringAndSize(l + 1, sz - 2); |
@@ -194,4 +197,3 b' initdiffhelpers(void)' | |||
|
194 | 197 | NULL, NULL); |
|
195 | 198 | } |
|
196 | 199 | #endif |
|
197 |
General Comments 0
You need to be logged in to leave comments.
Login now