Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-20453

mdc: fix memory leak in mdc_device_alloc() when class_name2obd() fails

XMLWordPrintable

    • 3
    • 9223372036854775807

      In `mdc_device_alloc()`, when `class_name2obd()` fails to find the OBD device, the function returns an error without freeing the `osc_device` structure that was allocated earlier. This causes a memory leak on the client side during failed device initialization attempts.

            vrungta Vandana Rungta
            vrungta Vandana Rungta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: