[BTRFS] Fix IRP leak.

This leaked at least one IRP for every write, making it the largest leak when
running with BTRFS as the system volume.
Thanks to Victor Perevertkin.

Submitted upstream thanks to Pierre:
https://github.com/maharmstone/btrfs/pull/106
This commit is contained in:
Thomas Faber 2018-09-16 15:25:27 +02:00
parent 257923cad1
commit c7af85b64b
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -2333,6 +2333,10 @@ void free_write_data_stripes(write_data_context* wtc) {
last_mdl = stripe->mdl;
#ifdef __REACTOS__
if (stripe->Irp)
IoFreeIrp(stripe->Irp);
#endif
le = le->Flink;
}