[Version] 0.12.60
[Issue Type] Vulnerability
Change-Id: Ia5ef3506a39748ebb12dc89e60917ec48f8f89b0
return MM_ERROR_SOUND_INTERNAL;
}
- if (!(cb_data = (struct callback_data*)g_malloc0(sizeof(struct callback_data)))) {
+ if (!(cb_data = (struct callback_data*)g_try_malloc0(sizeof(struct callback_data)))) {
debug_error("Allocate for callback data failed");
return MM_ERROR_SOUND_INTERNAL;
}
return MM_ERROR_NONE;
fail:
- free(cb_data);
+ g_free(cb_data);
return MM_ERROR_SOUND_INTERNAL;
}
Name: libmm-sound
Summary: MMSound Package contains client lib and sound_server binary
-Version: 0.12.59
+Version: 0.12.60
Release: 0
Group: System/Libraries
License: Apache-2.0