commit | f7d3ad9828eba01ed2f5ccc1a12b8b1362ed02b4 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Wed Oct 21 15:26:45 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Wed Oct 21 16:17:05 2015 -0700 |
tree | 15b85055ca549462c52de87596f9298cd38efb87 | |
parent | 63e8a14b1f9107ee2b51205385695be43ca40d5e [diff] |
greybus: module: fix double freeing of module structure The module will be released by gb_module_release() once all references for the module are dropped. And so there is no need to free it in the error path specially. Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>