Fixed a memleak in detectDriverReq().