| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -372,7 +372,7 @@ internal Binding Bind(IntPtr inst, IntPtr args, IntPtr kw, MethodBase info, Meth | |||
| 372 | 372 | static IntPtr HandleParamsArray(IntPtr args, int arrayStart, int pyArgCount, out bool isNewReference) | |
| 373 | 373 | { | |
| 374 | 374 | isNewReference = false; | |
| 375 | - IntPtr op; | ||
| 375 | + IntPtr op; | ||
| 376 | 376 | // for a params method, we may have a sequence or single/multiple items | |
| 377 | 377 | // here we look to see if the item at the paramIndex is there or not | |
| 378 | 378 | // and then if it is a sequence itself. | |
@@ -390,10 +390,6 @@ static IntPtr HandleParamsArray(IntPtr args, int arrayStart, int pyArgCount, out | |||
| 390 | 390 | { | |
| 391 | 391 | isNewReference = true; | |
| 392 | 392 | op = Runtime.PyTuple_GetSlice(args, arrayStart, pyArgCount); | |
| 393 | - if (item != IntPtr.Zero) | ||
| 394 | - { | ||
| 395 | - Runtime.XDecref(item); | ||
| 396 | - } | ||
| 397 | 393 | } | |
| 398 | 394 | } | |
| 399 | 395 | else | |
| Back | FazBrowse Home | New Git URL |
0 commit comments