e1bc14f Ticket 49850 cont -fix crash in ldbm_non_leaf

Authored and Committed by lkrispen 4 years ago
    Ticket 49850 cont -fix crash in ldbm_non_leaf
    
            Bug: if the ldif to be imported contains only one entry there are no leaf nodes
                    and the call to qsort crashes
    
            Fix: check that nodes is not NULL