Commit b948553
simplify memory management of the conv dictionary
In ResultObject_Initialize, always borrow the conv dictionary from the
caller. This simplifies the code, removes an allocation, and fixes ref
leaks in error cases.1 parent 73ccdcd commit b948553
1 file changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | 366 | | |
373 | 367 | | |
374 | 368 | | |
| |||
387 | 381 | | |
388 | 382 | | |
389 | 383 | | |
390 | | - | |
391 | 384 | | |
392 | 385 | | |
393 | 386 | | |
394 | 387 | | |
395 | 388 | | |
396 | | - | |
397 | 389 | | |
398 | 390 | | |
399 | 391 | | |
400 | 392 | | |
401 | 393 | | |
402 | 394 | | |
403 | 395 | | |
404 | | - | |
405 | 396 | | |
406 | 397 | | |
407 | | - | |
| 398 | + | |
408 | 399 | | |
409 | 400 | | |
410 | 401 | | |
411 | 402 | | |
412 | | - | |
413 | 403 | | |
414 | 404 | | |
415 | 405 | | |
| |||
428 | 418 | | |
429 | 419 | | |
430 | 420 | | |
431 | | - | |
432 | 421 | | |
433 | 422 | | |
434 | 423 | | |
| |||
463 | 452 | | |
464 | 453 | | |
465 | 454 | | |
466 | | - | |
467 | 455 | | |
468 | 456 | | |
469 | 457 | | |
| |||
0 commit comments