Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

possible memory leak on function dlr_device_construct, libdleyna/renderer/device.c #165

@vpereira

Description

@vpereira

Hi, I was wondering if we wouldn't have a memory leak because we aren't freeing priv_t which could lead to denial of service (crash) as soon g_new0 fails (AFAIK g_new0 aborts when it fails)

code for reference:

priv_t = g_new0(prv_new_device_ct_t, 1);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions