Process of elimination
Also, keep in mind that the leak may have leaked all the oil out of the compressor too. If it were my car, once I found where the leak was I would remove the compressor, dump the remaining oil out, and add the correct amount of new oil, then fix the leak and vacuum the system down.
-J