Updated the license and boilerplate
[apps/home/minicontrol.git] / src / minicontrol-provider.c
index cc4e034..9f8178b 100755 (executable)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2012  Samsung Electronics Co., Ltd
  *
- * Licensed under the Flora License, Version 1.0 (the "License");
+ * Licensed under the Flora License, Version 1.1 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
  *
@@ -266,6 +266,7 @@ EXPORT_API Evas_Object *minicontrol_win_add(const char *name)
        if (!elm_win_socket_listen(win, name_inter, 0, EINA_FALSE)) {
                ERR("Fail to elm win socket listen");
                evas_object_del(win);
+               free(name_inter);
                return NULL;
        }