Changeset 029ce4d1 in rtems


Ignore:
Timestamp:
Feb 24, 2017, 11:49:07 AM (3 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
5, master
Children:
090016a
Parents:
1b559e3
git-author:
Daniel Hellstrom <daniel@…> (02/24/17 11:49:07)
git-committer:
Daniel Hellstrom <daniel@…> (03/06/17 06:54:55)
Message:

leon, grspw_pkt: fix descriptor table mem leak on grspw_close()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c

    r1b559e3 r029ce4d1  
    657657        }
    658658        grspw_hw_stop(priv);
     659
     660        /* Free descriptor table memory if allocated using malloc() */
     661        if (priv->bd_mem_alloced) {
     662                free((void *)priv->bd_mem_alloced);
     663                priv->bd_mem_alloced = 0;
     664        }
    659665
    660666        /* Mark not open */
Note: See TracChangeset for help on using the changeset viewer.