classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: malloc and free targetizized


From: Roman Kennke
Subject: [cp-patches] FYI: malloc and free targetizized
Date: Tue, 17 Jan 2006 14:11:37 +0000

I replaced calls to malloc() and free() in jcl.c and native_state.c with
the corresponding target macros for improved portability.

2006-01-17  Roman Kennke  <address@hidden>

        * native/jni/classpath/jcl.c:
        (JCL_malloc): Replaced calls to malloc with the corresponding
        target layer macro.
        (JCL_free): Replaced calls to free with the corresponding
        target layer macro.
        * native/jni/classpath/native_state.c:
        (cp_gtk_init_state_table_with_size): Replaced calls to malloc and
        calloc with the corresponding target layer macro.
        (remove_node): Replaced calls to free with the corresponding
        target layer macro.
        (add_node): Replaced calls to malloc with the corresponding
        target layer macro.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]