You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2014/05/14 15:36:30 UTC

svn commit: r1594579 - /qpid/dispatch/trunk/src/config.c

Author: tross
Date: Wed May 14 13:36:30 2014
New Revision: 1594579

URL: http://svn.apache.org/r1594579
Log:
NO-JIRA - Add braces around a Py_DECREF macro.

Modified:
    qpid/dispatch/trunk/src/config.c

Modified: qpid/dispatch/trunk/src/config.c
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/src/config.c?rev=1594579&r1=1594578&r2=1594579&view=diff
==============================================================================
--- qpid/dispatch/trunk/src/config.c (original)
+++ qpid/dispatch/trunk/src/config.c Wed May 14 13:36:30 2014
@@ -224,7 +224,9 @@ bool qd_config_item_exists(const qd_disp
 {
     PyObject *pResult = item_value(dispatch, section, index, key, "value_string");
     bool exists = pResult;
-    if (pResult) Py_DECREF(pResult);
+    if (pResult) {
+        Py_DECREF(pResult);
+    }
     return exists;
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org