Free up the original buffer pointer instead of the one we advanced.
Only call getDrive() once inside of addDrive().

1 file changed