This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] [committed obvious] Fix small leak in cfgloop.c


Hi, I noticed that cfgloop.c:cancel_loop() is missing a free of the bbs
array obtained from get_loop_body(). Committed attached patch as obvious.

Thanks,
Chung-Lin

2012-01-08  Chung-Lin Tang  <cltang@codesourcery.com>

        * cfgloop.c (cancel_loop): Add free() of bbs array.

Attachment: free.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]