Skip to content

Memory leak in get_lmbs #102

@davemq

Description

@davemq

In get_lmbs() there's a code path for the case where stat(DYNAMIC_RECONFIG_MEM, &sbuf) fails. In that case, there's this code:

	if (stat(DYNAMIC_RECONFIG_MEM, &sbuf)) {
		struct dr_connector *drc_list, *drc;

		drc_list = get_drc_info(OFDT_BASE);

drc_list is never freed in this code.

I don't know if this is ever seen in practice. Given drmgr is typically a short-lived process, this may be a low priority to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions