File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -4282,21 +4282,16 @@ exec_surface(PyObject *module)
42824282 static void * c_api [PYGAMEAPI_SURFACE_NUMSLOTS ];
42834283
42844284 if (pg_warn_simd_at_runtime_but_uncompiled () < 0 ) {
4285- Py_DECREF (module );
42864285 return -1 ;
42874286 }
42884287
4289- Py_INCREF (& pgSurface_Type );
42904288 if (PyModule_AddObjectRef (module , "SurfaceType" ,
42914289 (PyObject * )& pgSurface_Type )) {
4292- Py_DECREF (module );
42934290 return -1 ;
42944291 }
42954292
4296- Py_INCREF (& pgSurface_Type );
42974293 if (PyModule_AddObjectRef (module , "Surface" ,
42984294 (PyObject * )& pgSurface_Type )) {
4299- Py_DECREF (module );
43004295 return -1 ;
43014296 }
43024297
@@ -4307,13 +4302,10 @@ exec_surface(PyObject *module)
43074302 c_api [3 ] = pgSurface_SetSurface ;
43084303 apiobj = encapsulate_api (c_api , "surface" );
43094304 if (PyModule_AddObjectRef (module , PYGAMEAPI_LOCAL_ENTRY , apiobj )) {
4310- Py_DECREF (module );
43114305 return -1 ;
43124306 }
43134307
4314- Py_XINCREF (pgSurface_Type .tp_dict );
43154308 if (PyModule_AddObjectRef (module , "_dict" , pgSurface_Type .tp_dict )) {
4316- Py_DECREF (module );
43174309 return -1 ;
43184310 }
43194311
You can’t perform that action at this time.
0 commit comments