On Thu, Jul 19, 2018 at 12:08:57PM +0000, Andriy Kohut wrote: > Change-Id: I4ed12f1cddcb85e8f55552ce8980a9d5f3f7d800 > Signed-off-by: Andriy Kohut <[email protected]> > --- > pmc_common.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/pmc_common.c b/pmc_common.c > index 0246fea..4a160f6 100644 > --- a/pmc_common.c > +++ b/pmc_common.c > @@ -506,6 +506,7 @@ int pmc_send_get_action(struct pmc *pmc, int id) > extra = tlv_extra_alloc(); > if (!extra) { > pr_err("failed to allocate TLV descriptor"); > + msg_put(msg); > return -ENOMEM; > } > extra->tlv = (struct TLV *) msg->management.suffix;
Applied. Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
