Is the word "withholding" used in the same way in the following two sentences?

There were allegations of the withholding of evidence.

I resented his withholding permission.
the same meaning