c
51  if (ret) {
52      if (data) // Check if data was allocated
53          vfree(data); // Free the allocated memory
54      return ret;
55  }

// ...

84 out:
85  if (data) // Check if data was allocated
86      vfree(data); // Free the allocated memory
87  return ret;
