[geany/geany-plugins] b5b0ce: Geanylatex: remove useless check
Pavel Roschin
git-noreply at xxxxx
Sun Mar 30 20:16:31 UTC 2014
Branch: refs/heads/master
Author: Pavel Roschin <roshin at scriptumplus.ru>
Committer: Frank Lanitz <frank at frank.uvena.de>
Date: Sun, 30 Mar 2014 20:16:31 UTC
Commit: b5b0ce580a665023854ce4aab26087e124a9a48d
https://github.com/geany/geany-plugins/commit/b5b0ce580a665023854ce4aab26087e124a9a48d
Log Message:
-----------
Geanylatex: remove useless check
Modified Paths:
--------------
geanylatex/src/geanylatex.c
Modified: geanylatex/src/geanylatex.c
6 files changed, 2 insertions(+), 4 deletions(-)
===================================================================
@@ -1309,10 +1309,8 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem,
}
else
{
- if (ref_string != NULL)
- g_free(ref_string);
- if (template_string != NULL)
- g_free(template_string);
+ g_free(ref_string);
+ g_free(template_string);
}
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list