| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
[src/mtpz.c:1643]: (error) Memory leak: hash_key
[src/mtpz.c:1589]: (error) Memory leak: v10
[src/mtpz.c:1589]: (error) Memory leak: v11
[src/mtpz.c:1739]: (error) Memory leak: odata
|
| |
|
|
|
|
| |
line ever.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit replaces this block
if (ret == PTP_RC_OK)
{
/* lots of code */
}
else
{
LIBMTP_INFO("failure!\n");
}
with this
if (ret != PTP_RC_OK)
{
LIBMTP_INFO("failure!\n");
return ret;
}
/* lots of code */
So, it makes the code more readable
|
| |
|
|
|
|
| |
Signed-off-by: Reverend Homer <mk.43.ecko@gmail.com>
|
|
|
|
|
|
| |
This reverts commit 8f5da8fc9050448ca5da4ffeb4796e9e6eca8a35.
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
| |
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
| |
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
|
| |
Signed-off-by: Wieland Hoffmann <themineo@gmail.com>
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use LIBMTP_ERROR instead of LIBMTP_INFO in mtpz_loaddata,
otherwise if we encounter an error while generating the
udev rule, the error message will end-up to be part of the
rule as LIBMTP_INFO uses stdout.
linux-qdip:~ # head -3 /usr/lib/udev/rules.d/69-libmtp.rules
Unable to open ~/.mtpz-data for reading, MTPZ disabled.# UDEV-style hotplug map for libmtp
Signed-off-by: Robert Milasan <rmilasan@suse.com>
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
|
|
| |
Here is an updated diff also build tested with gcc 4.6.
Signed-off-by: Brad Smith <brad@comstyle.com>
|
|
|
|
| |
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
| |
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
|
|
| |
Signed-off-by: Linus Walleij <triad@df.lth.se>
|
|
Signed-off-by: Sajid Anwar <sajidanwar94@gmail.com>
|