X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fpartition.c;h=5f0745c91424ea2ec299b580d86a88f33a78cedd;hb=c3d399e712774f8c8e4cd6b6a5bb8230c42bc760;hp=b67f0583778710d76d0d530350e440b5abceba11;hpb=1e45deed6a87c05c9e669e3cdfdda47cbfa9531d;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/partition.c b/libiberty/partition.c index b67f058377..5f0745c914 100644 --- a/libiberty/partition.c +++ b/libiberty/partition.c @@ -16,8 +16,8 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + the Free Software Foundation, 51 Franklin Street - Fifth Floor, + Boston, MA 02110-1301, USA. */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -34,7 +34,7 @@ #include "libiberty.h" #include "partition.h" -static int elem_compare PARAMS ((const void *, const void *)); +static int elem_compare (const void *, const void *); /* Creates a partition of NUM_ELEMENTS elements. Initially each element is in a class by itself. */ @@ -177,6 +177,7 @@ partition_print (partition part, FILE *fp) } fputc (']', fp); + free (class_elements); free (done); }