Buona sera quando provo a chiamare questa funzione mi da errore di segmentazione
codice:
 
void *addNode(Btree *head, Btree *newNode)
{
        if(head==NULL)
                head=newNode;
        else if(head->elemento>new->elemento)
                addNode(head->sx, newNode);
        else
                addNode(head->dx, newNode);
}
Potreste spiegarmi cosa sbaglio?

Grazie in anticipo.