malloc and urls