func: int main(int argc, char *argv[]) if ( ! ( vector = ( short * ) calloc ( 3 , sizeof ( short ) ) ) )  execute ( vector ); void execute(short *vector) unsigned i ; for (i = 0; i < 3; i++) vector [ i ] = ( short ) ( getRand ( ) % 256 ); unsigned int getRand() unsigned int r ; return r ; switch ( i )  if ( vector )  free ( vector ); vector = NULL; 