Is this function leaking memory?

PHP Code:
char** VirtualSplitString(charpStringchar sepintuBound)
{
    
unsigned long s 0unsigned long i 0;
    
char** pArray = (char**)calloc(0sizeof(char));

    
//allocate empty storage
    
    //the first array
    
pArray[0] = (char*)calloc(1024sizeof(char));

    
//separate an array...
    
while(*pString)
    {
        
//go through the string, find position
        
if(*pString == sep)
        {    
            
i++;
            
0//current position
            //allocate space for new input
            
pArray[i] = (char*)calloc(1024sizeof(char));
        }
        else
        {
            
//get the current character and set it
            
pArray[i][s] = *pString;

            
//increase character position
            
s++;
        }

        
//increase string position
        
pString++;

    }
    
    
uBound = ++i;

    
//return the pArray data type
    
return pArray;
}; 
thanks for any help...