The calculated distance (air line) between Málaga and Melilla is approximately 129 miles respectively 207 kilometers.
By car or train, the actual journey to Melilla is certainly longer, as only the direct route (as the crow flies) between Málaga and Melilla has been calculated here.