Skip to content

safer TAPP_destroy_tensor_info #15

@janbrandejs

Description

@janbrandejs

TAPP_destroy_tensor_info (and similar) can be made safer if it sets the pointer value (TAPP_tensor_info* info) to zero after if deallocates TAPP_tensor_info. This provides a way for the user to check whether TAPP_tensor_info was already deallocated before calling TAPP_destroy_tensor_info.
(suggestion by Anthony Scemama)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions