Ignore:
Timestamp:
Feb 3, 2007, 11:01:41 PM (19 years ago)
Author:
cinc
Message:

Changes...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nom/src/nombuildnomobj.c

    r139 r221  
    147147     an individual thunking code must be calculated because the number of instance
    148148     variables is not defined. */
    149   nClass->mThunk=NOMMalloc(sizeof(nomMethodThunk)*sci->ulNumStaticMethods);
    150   if(!nClass->mThunk) {
    151     NOMFree(nClass);
    152     return NULLHANDLE;
     149  if(0!=sci->ulNumStaticMethods){
     150    nClass->mThunk=NOMMalloc(sizeof(nomMethodThunk)*sci->ulNumStaticMethods);
     151    if(!nClass->mThunk) {
     152      NOMFree(nClass);
     153      return NULLHANDLE;
     154    }
    153155  }
    154156
Note: See TracChangeset for help on using the changeset viewer.