.. | .. |
---|
257 | 257 | |
---|
258 | 258 | acpi_ut_delete_object_desc(second_desc); |
---|
259 | 259 | } |
---|
| 260 | + if (object->field.internal_pcc_buffer) { |
---|
| 261 | + ACPI_FREE(object->field.internal_pcc_buffer); |
---|
| 262 | + } |
---|
| 263 | + |
---|
260 | 264 | break; |
---|
261 | 265 | |
---|
262 | 266 | case ACPI_TYPE_BUFFER_FIELD: |
---|
.. | .. |
---|
279 | 283 | if (second_desc) { |
---|
280 | 284 | acpi_ut_delete_object_desc(second_desc); |
---|
281 | 285 | } |
---|
| 286 | + break; |
---|
| 287 | + |
---|
| 288 | + case ACPI_TYPE_LOCAL_ADDRESS_HANDLER: |
---|
| 289 | + |
---|
| 290 | + ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS, |
---|
| 291 | + "***** Address handler %p\n", object)); |
---|
| 292 | + |
---|
| 293 | + acpi_os_delete_mutex(object->address_space.context_mutex); |
---|
282 | 294 | break; |
---|
283 | 295 | |
---|
284 | 296 | default: |
---|
.. | .. |
---|
449 | 461 | * |
---|
450 | 462 | * FUNCTION: acpi_ut_update_object_reference |
---|
451 | 463 | * |
---|
452 | | - * PARAMETERS: object - Increment ref count for this object |
---|
453 | | - * and all sub-objects |
---|
| 464 | + * PARAMETERS: object - Increment or decrement the ref count for |
---|
| 465 | + * this object and all sub-objects |
---|
454 | 466 | * action - Either REF_INCREMENT or REF_DECREMENT |
---|
455 | 467 | * |
---|
456 | 468 | * RETURN: Status |
---|
457 | 469 | * |
---|
458 | | - * DESCRIPTION: Increment the object reference count |
---|
| 470 | + * DESCRIPTION: Increment or decrement the object reference count |
---|
459 | 471 | * |
---|
460 | 472 | * Object references are incremented when: |
---|
461 | 473 | * 1) An object is attached to a Node (namespace object) |
---|
.. | .. |
---|
489 | 501 | } |
---|
490 | 502 | |
---|
491 | 503 | /* |
---|
492 | | - * All sub-objects must have their reference count incremented |
---|
| 504 | + * All sub-objects must have their reference count updated |
---|
493 | 505 | * also. Different object types have different subobjects. |
---|
494 | 506 | */ |
---|
495 | 507 | switch (object->common.type) { |
---|
.. | .. |
---|
556 | 568 | break; |
---|
557 | 569 | } |
---|
558 | 570 | } |
---|
| 571 | + |
---|
559 | 572 | next_object = NULL; |
---|
560 | 573 | break; |
---|
561 | 574 | |
---|