Commit 91b6358f authored by Derek Konigsberg's avatar Derek Konigsberg

Remove incorrect error cleanup code

Fixes #5
parent 840fcb3d
......@@ -194,12 +194,7 @@ complete:
axolotl_buffer_free(identity_buffer);
axolotl_buffer_free(hash_buffer);
axolotl_buffer_free(hash_out_buffer);
if(result < 0) {
if(display_string) {
free(display_string);
}
}
else {
if(result >= 0) {
*display_string = result_string;
}
return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment