c
if (!propname) {
    return -ENOMEM; // Return an error code indicating memory allocation failure
}
