projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
storage: Using the right free func
[platform/upstream/connman.git]
/
src
/
storage.c
diff --git
a/src/storage.c
b/src/storage.c
index
7dcf2e3
..
54c023d
100644
(file)
--- a/
src/storage.c
+++ b/
src/storage.c
@@
-68,7
+68,7
@@
static void storage_save(GKeyFile *keyfile, char *pathname)
if (!g_file_set_contents(pathname, data, length, &error)) {
DBG("Failed to store information: %s", error->message);
if (!g_file_set_contents(pathname, data, length, &error)) {
DBG("Failed to store information: %s", error->message);
- g_free(error);
+ g_
error_
free(error);
}
g_free(data);
}
g_free(data);