What imperfections of the code?

Code:
void MyClass(int a) 
{
    int *x = new int[a];
    int *y = new int[a];  
    Bar(x, y);    
    delete [] x;
    delete [] y;
}
Thanks!