Diff between cfda437161f3348cc5bf4f4b6a2dc0c4767c8571 and 1176dba49d26b7aa8a7b489e27c7924482a61dbe
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/obex.c | +0 | -15 | modified |
Full Patch
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 9856d65..ca8a7bb 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -265,21 +265,6 @@ static void cmd_get(struct obex_session *os, obex_t *obex, obex_object_t *obj)
g_return_if_fail(chk_cid(obex, obj, os->cid));
- if (os->type) {
- g_free(os->type);
- os->type = NULL;
- }
-
- if (os->name) {
- g_free(os->name);
- os->name = NULL;
- }
-
- if (os->buf) {
- g_free(os->buf);
- os->buf = NULL;
- }
-
while (OBEX_ObjectGetNextHeader(obex, obj, &hi, &hd, &hlen)) {
switch (hi) {
case OBEX_HDR_NAME: