Changeset 122 for trunk/lib


Ignore:
Timestamp:
08/09/08 16:24:01 (16 years ago)
Author:
tim
Message:

fixed an incorrect malloc in range_list.c
minor documentation updates

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/lru_cache.c

    • Property svn:keywords set to Id
    r112 r122  
    1515 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
    1616 *
    17  * $Id: $
     17 * $Id$
    1818 */
    1919
  • trunk/lib/range_list.c

    • Property svn:keywords set to Id
    r116 r122  
    1515 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
    1616 *
    17  * $Id: $
     17 * $Id$
    1818 */
    1919
     
    125125  range_list* rl;
    126126
    127   rl = (range_list*)malloc(sizeof(range_list*));
     127  rl = (range_list*)malloc(sizeof(range_list));
    128128  if(rl == NULL)
    129129    return NULL;
Note: See TracChangeset for help on using the changeset viewer.