am 6059c395: am 55f8f121: Merge "Correctly free resouces bound to scripts when the scripts are deleted." into honeycomb

* commit '6059c3955d739ab5fad15f9bf6bb6f743a9b5ac2':
  Correctly free resouces bound to scripts when the scripts are deleted.