fix memory leak in scop-detection
authorAditya Kumar <aditya.k7@samsung.com>
Thu, 21 Jan 2016 02:13:24 +0000 (02:13 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jan 2016 02:13:24 +0000 (02:13 +0000)
commiteaca025e57accd92cabab3eaf09d5a27e056d184
tree0f18bd5e48a0600f436107af1869c0ab2dd0bf38
parent5431c9ea56229569343aa9ddc6b176916b41f248
fix memory leak in scop-detection

        * graphite-scop-detection.c
        (scop_detection::harmful_loop_in_region): Free dom and loops.
        (scop_detection::loop_body_is_valid_scop): Free bbs.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232655
gcc/ChangeLog
gcc/graphite-scop-detection.c