Change-Id: I143d3d83268495bf88c05ef86f3fcd50bc7c040e
%define major 0
%define minor 1
-%define patchlevel 15
+%define patchlevel 16
Name: tel-plugin-manager
Version: %{major}.%{minor}.%{patchlevel}
#include <string.h>
#include <glib.h>
+#include <stdlib.h>
#include <tcore.h>
#include <server.h>
#include <manager.h>
dbg("profile: %s", profile);
if (g_strcmp0(profile, "mobile") && g_strcmp0(profile, "wearable")) {
dbg("No need to subscribe poweroff signal handling to deviced");
+ free(profile);
return;
}
+ if (profile)
+ free(profile);
if (!modem_info->sys_power.conn) {
GError *error = NULL;