Changeset 46 for cafu/trunk/ExtLibs/lwo/lwob.c
- Timestamp:
- 02/16/10 00:39:55 (2 years ago)
- Files:
-
- 1 modified
-
cafu/trunk/ExtLibs/lwo/lwob.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cafu/trunk/ExtLibs/lwo/lwob.c
r31 r46 109 109 110 110 for ( i = 0; i < 3; i++ ) { 111 111 112 env = calloc( 1, sizeof( lwEnvelope )); 113 if(!env) 114 return 0; 115 112 116 key0 = calloc( 1, sizeof( lwKey )); 117 if(!key0) 118 { 119 free(env); 120 return 0; 121 } 122 113 123 key1 = calloc( 1, sizeof( lwKey )); 114 if ( !env || !key0 || !key1 ) return 0; 124 if (!key1) 125 { 126 free(env); 127 free(key0); 128 return 0; 129 } 115 130 116 131 key0->next = key1;
