Fix memory leak in handleReadNdef