##// END OF EJS Templates
patches: move assignment outside the conditional...
Boris Feld -
r35959:3028a321 default
parent child Browse files
Show More
@@ -110,7 +110,8 b' patches(PyObject *self, PyObject *args)'
110 goto cleanup;
110 goto cleanup;
111 }
111 }
112 out = PyBytes_AsString(result);
112 out = PyBytes_AsString(result);
113 if ((r = mpatch_apply(out, in, inlen, patch)) < 0) {
113 r = mpatch_apply(out, in, inlen, patch);
114 if (r < 0) {
114 Py_DECREF(result);
115 Py_DECREF(result);
115 result = NULL;
116 result = NULL;
116 }
117 }
General Comments 0
You need to be logged in to leave comments. Login now