projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
334c46c
)
https://issues.shibboleth.net/jira/browse/CPPXT-50
1.3.2
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 27 Nov 2009 21:52:21 +0000
(21:52 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 27 Nov 2009 21:52:21 +0000
(21:52 +0000)
xmltooling/AbstractXMLObject.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/AbstractXMLObject.cpp
b/xmltooling/AbstractXMLObject.cpp
index
0ebd079
..
58efeda
100644
(file)
--- a/
xmltooling/AbstractXMLObject.cpp
+++ b/
xmltooling/AbstractXMLObject.cpp
@@
-244,6
+244,8
@@
DateTime* AbstractXMLObject::prepareForAssignment(DateTime* oldValue, const XMLC
{
delete oldValue;
releaseThisandParentDOM();
+ if (!newValue || !*newValue)
+ return NULL;
DateTime* ret = new DateTime(newValue);
if (duration)
ret->parseDuration();