moving to cmake
[src/app-framework-main.git] / src / utils-jbus.c
index 8c144ad..ef87227 100644 (file)
@@ -1,6 +1,8 @@
 /*
  Copyright 2015 IoT.bzh
 
+ author: José Bollo <jose.bollo@iot.bzh>
+
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
@@ -274,8 +276,6 @@ int jbus_add_service(struct jbus *jbus, const char *method, void (*oncall)(struc
 
        return 0;
 
-error3:
-       free(srv->method);
 error2:
        free(srv);
 error: