From a0bf375a1a9b74056a913f3687c6f5b42ad4acf6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 05 Apr 2011 08:35:43 +0000 Subject: Avoid null pointer dereference in reencode(). Returning "*txt" if "txt" is a null pointer is a bad thing. Spotted with clang-analyzer. Signed-off-by: Lukas Fleischer Signed-off-by: Lars Hjemli --- (limited to 'ui-diff.c') -- cgit v0.9.0.2