am 19974ecc: Fix a leak in RefBase (DO NOT MERGE)

* commit '19974eccdbd3e4dbd7e3b2cc401db7806d4a17bc':
  Fix a leak in RefBase (DO NOT MERGE)