]> git.ipfire.org Git - thirdparty/gcc.git/commit
adaint.c (__gnat_get_libraries_from_registry): Fix code to avoid warning.
authorPascal Obry <obry@adacore.com>
Mon, 20 Apr 2009 09:19:08 +0000 (09:19 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Apr 2009 09:19:08 +0000 (11:19 +0200)
commit262991d8268891984cef22fca55a21fb77269df0
treed5b7203bf030876f1af774832c6fe133d43e6559
parentd0f8d157fe68d5b224ba52e8891e17c1eb38d4de
adaint.c (__gnat_get_libraries_from_registry): Fix code to avoid warning.

2009-04-20  Pascal Obry  <obry@adacore.com>

* adaint.c (__gnat_get_libraries_from_registry): Fix code to
avoid warning. At the same time fix a memory leak.

* osint.adb (Get_Libraries_From_Registry): Properly free memory
returned by the above routine.

From-SVN: r146380
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/osint.adb