summaryrefslogtreecommitdiff
path: root/libpiano/src/crypt.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-10-26 20:37:23 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-10-29 14:20:16 +0200
commit6341560e15e220d92b6d6d87d62f51f17f8c808f (patch)
tree90ada00e3558b285723576ca59af16768b286363 /libpiano/src/crypt.c
parent4ce6e333dd53f5705133aa4f494fe45eb1230f69 (diff)
downloadpianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.tar.gz
pianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.tar.bz2
pianobar-6341560e15e220d92b6d6d87d62f51f17f8c808f.zip
piano: Removed PianoFree
Ordinary "free" call works fine, no need for memset overhead.
Diffstat (limited to 'libpiano/src/crypt.c')
-rw-r--r--libpiano/src/crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiano/src/crypt.c b/libpiano/src/crypt.c
index e94a54d..8a8ad01 100644
--- a/libpiano/src/crypt.c
+++ b/libpiano/src/crypt.c
@@ -191,7 +191,7 @@ unsigned char *PianoEncryptString (const unsigned char *strInput) {
--blockN;
}
- PianoFree (blockInput, 0);
+ free (blockInput);
return strHex;
}